|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFileServerAdmin
This interface provides the general metrics for the file servers and allows you to retrieve the collection of active files on the server. You can also set the server's maximum idle time and root directory. The server can be an Input server or an Output server.
| Method Summary | |
|---|---|
void |
commit()
Deprecated. As of version 12.0. Commit the Job Server InfoObject to save any changes. |
double |
getAvailableDiskPercent()
Deprecated. As of version 12.0. |
double |
getAvailableDiskSpace()
Deprecated. As of version 12.0. |
double |
getBytesSent()
Deprecated. As of version 12.0. |
double |
getBytesWritten()
Deprecated. As of version 12.0. |
int |
getClientConnections()
Deprecated. As of version 12.0. |
double |
getDiskSpaceLeft()
Deprecated. As of version 12.0. |
java.lang.String |
getHostname()
Deprecated. As of version 12.0. |
IFRSAdminFile[] |
getListActiveFiles()
Deprecated. As of version 12.0. |
int |
getMaxIdleTime()
Deprecated. As of version 12.0. |
int |
getMaxIdleTimeUpdate()
Deprecated. As of version 12.0. |
java.lang.String |
getRootDirectory()
Deprecated. As of version 12.0. |
double |
getTotalDiskSpace()
Deprecated. As of version 12.0. |
void |
setMaxIdleTimeUpdate(int n)
Deprecated. As of version 12.0. |
void |
setRootDirectory(java.lang.String s)
Deprecated. As of version 12.0. |
| Method Detail |
|---|
java.lang.String getRootDirectory()
throws SDKException
Returns the root directory of the File Repository Server.
String specifying the root directory of the FRS.
SDKException - This is thrown if the process is unsuccessful.
void setRootDirectory(java.lang.String s)
throws SDKException
Sets the root directory of the File Repository Server.
s - A String specifying the root directory of the FRS.
SDKException - This is thrown if the process is unsuccessful.
int getMaxIdleTime()
throws SDKException
Returns the maximum time in minutes for file resources before they are cleaned by the File Repository Server.
int specifying the maximum time in minutes for file resources
before they are cleaned by the File Repository Server.
SDKException - This is thrown if the process is unsuccessful.
void commit()
throws SDKException
Commits to the CMS any changes that are made to the file server.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getHostname()
throws SDKException
Returns the name of the host machine that the File Repository Service is running on.
String containing the name of the host machine that the
File Repository Service is running on.
SDKException - This is thrown if the process is unsuccessful.
double getBytesWritten()
throws SDKException
Returns the number of bytes being written to the File Repository Server.
double specifying the number of bytes being written to the
File Repository Server.
SDKException - This is thrown if the process is unsuccessful.
double getBytesSent()
throws SDKException
Returns the number of bytes being read from the File Repository Server.
double specifying the number of bytes being read from the
File Repository Server.
SDKException - This is thrown if the process is unsuccessful.
IFRSAdminFile[] getListActiveFiles()
throws SDKException
Returns the collection of active files on the File Repository Server.
IFRSAdminFile objects containing the active
files on the FRS.
SDKException - This is thrown if the process is unsuccessful.
int getClientConnections()
throws SDKException
Returns the number of active client connections to the File Repository Server.
int specifying the number of active client connections to the
FRS.
SDKException - This is thrown if the process is unsuccessful.
double getAvailableDiskSpace()
throws SDKException
Returns the available disk space on the host machine in bytes.
double specifying the available disk space on the host machine
in bytes.
SDKException - This is thrown if the process is unsuccessful.
double getDiskSpaceLeft()
throws SDKException
Returns the amount of disk space left on the host machine in bytes.
double specifying the amount of disk space left on the host machine
in bytes.
SDKException - This is thrown if the process is unsuccessful.
double getTotalDiskSpace()
throws SDKException
Returns the total disk space of the host machine in bytes.
double specifying the total disk space of the host machine
in bytes.
SDKException - This is thrown if the process is unsuccessful.
double getAvailableDiskPercent()
throws SDKException
Returns the available disk space as a percentage of the host machines total disk space.
double specifying the available disk space as a percentage
of the host machine's total disk space.
SDKException - This is thrown if the process is unsuccessful.
int getMaxIdleTimeUpdate()
throws SDKException
Returns the maximum idle time allowed for file resources before they are cleaned by the File Repository Server.
int specifying the maximum idle time allowed for file resources
before they are cleaned by the FRS.
SDKException - This is thrown if the process is unsuccessful.
void setMaxIdleTimeUpdate(int n)
throws SDKException
Sets the maximum idle time allowed for file resources before they are cleaned by the File Repository Server. This will take effect once the File Repository Server is restarted.
n - An int specifying the maximum idle time allowed for file resources
before they are cleaned by the FRS.
SDKException - This is thrown if the process is unsuccessful.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||