com.crystaldecisions.sdk.plugin.admin.fileserveradmin
Interface IFRSAdminFile


public interface IFRSAdminFile

This interface provides metrics on an active file in the File Repository Server (FRS). This information includes the file name, the number of readers of the file, and the number of writers to the file.

The readers and writers are from the point of view of the FRS. When a client schedules an object, there is one reader in the Input FRS followed by one writer in the Output FRS. The Input FRS also has writers when a client tries to create new objects. Readers and writers are always associated with a file in the FRS. So, the number of readers is the number of "clients" (any client using the FRS, not necessarily viewing or performing a job) that have a file open for reading. Similarly, the number of writers is the number of clients that have that file open for writing. These metrics are there for the system administrator to monitor the activities on the FRS.


Method Summary
 java.lang.String getFilename()
           Returns the name of the file.
 int getReaders()
           Returns the number of clients trying to read the file.
 int getWriters()
           Returns the number of clients trying to write to the file.
 

Method Detail

getFilename

public java.lang.String getFilename()

Returns the name of the file.

Returns:
A String containing the name of the file.

getReaders

public int getReaders()

Returns the number of clients trying to read the file.

Returns:
An int specifying the number of clients trying to read the file.

getWriters

public int getWriters()

Returns the number of clients trying to write to the file.

Returns:
An int specifying the number of clients trying to write to the file.