|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IJobServerAdmin interface provides metrics on the types of jobs allowed, type of
processing, as well as numerical statistics dealing with total, current, and failed jobs.
You can also set the maximum number of jobs allowed and retrieve the JobServerDestinations
collection.
| Method Summary | |
void |
commit()
Commit to the CMS any changes that are made to the job server. |
int |
getCurrentJobs()
Returns the current number of jobs processing. |
IJobServerDestination[] |
getDestinations(IInfoStore infostore)
Returns the collection of destinations supported by Job Servers. |
java.lang.String |
getDLLName()
Returns the DLL associated with the object type the Job Server processes. |
int |
getFailedCreated()
Returns the total number of failed job creations. |
int |
getMaxJobs()
Returns the maximum number of requests the Job Server can process at one time. |
java.lang.String |
getObjectTypeName()
Returns the Object type name processed by the Job Server. |
int |
getProcType()
Returns the process mode for every request. |
java.lang.String |
getTempDir()
Returns the location of the Job Servers temporary files. |
int |
getTotalJobs()
Returns the number of job requests received. |
void |
setMaxJobs(int n)
Sets the maximum number of requests the Job Server can process at one time. |
void |
setTempDir(java.lang.String dir)
Sets the location of the Job Servers temporary files. |
| Method Detail |
public int getMaxJobs()
throws SDKException
Returns the maximum number of requests the Job Server can process at one time.
int specifying the maximum number of requests the Job Server
can process at one time.
SDKException - This is thrown if the process is unsuccessful.
public void setMaxJobs(int n)
throws SDKException
Sets the maximum number of requests the Job Server can process at one time.
n - An int specifying the maximum number of requests the Job Server
can process at one time.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String getObjectTypeName()
throws SDKException
Returns the Object type name processed by the Job Server. Note, the present build of this
product is only able to process Report objects.
String containing the Object type name processed by the Job Server.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String getDLLName()
throws SDKException
Returns the DLL associated with the object type the Job Server processes.
String containing the DLL associated with the object type the
Job Server processes.
SDKException - This is thrown if the process is unsuccessful.
public int getCurrentJobs()
throws SDKException
Returns the current number of jobs processing.
int specifying the current number of jobs processing.
SDKException - This is thrown if the process is unsuccessful.
public int getTotalJobs()
throws SDKException
Returns the number of job requests received.
int specifying the number of job requests received.
SDKException - This is thrown if the process is unsuccessful.
public int getFailedCreated()
throws SDKException
Returns the total number of failed job creations.
int specifying the total number of failed job creations.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String getTempDir()
throws SDKException
Returns the location of the Job Servers temporary files.
String containing the location of the Job Server temporary files.
SDKException - This is thrown if the process is unsuccessful.
public void setTempDir(java.lang.String dir)
throws SDKException
Sets the location of the Job Servers temporary files.
dir - A String containing the location of the Job Server temporary files
SDKException - This is thrown if the process is unsuccessful.
public int getProcType()
throws SDKException
Returns the process mode for every request.
int specifying the process mode for every request.
SDKException - This is thrown if the process is unsuccessful.
public IJobServerDestination[] getDestinations(IInfoStore infostore)
throws SDKException
Returns the collection of destinations supported by Job Servers.
infostore - An IInfoStore object from which the destinations will be
returned.
IJobServerDestination objects containing the
destination supported by Job Servers.
SDKException - This is thrown if the process is unsuccessful.
public void commit()
throws SDKException
Commit to the CMS any changes that are made to the job server.
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 | |||||||||