|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IJobServerAdmin
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()
Deprecated. As of version 12.0. Commit the Job Server InfoObject to save any changes. |
int |
getCurrentJobs()
Deprecated. As of version 12.0. |
IJobServerDestination[] |
getDestinations(IInfoStore infostore)
Deprecated. As of version 12.0, replaced by com.crystaldecisions.sdk.plugin.desktop.server.IServer.getServerDestinations(). |
java.lang.String |
getDLLName()
Deprecated. As of version 12.0. |
int |
getFailedCreated()
Deprecated. As of version 12.0. |
int |
getMaxJobs()
Deprecated. As of version 12.0. |
java.lang.String |
getObjectTypeName()
Deprecated. As of version 12.0. |
int |
getProcType()
Deprecated. As of version 12.0. |
java.lang.String |
getTempDir()
Deprecated. As of version 12.0. |
int |
getTotalJobs()
Deprecated. As of version 12.0. |
void |
setMaxJobs(int n)
Deprecated. As of version 12.0. |
void |
setTempDir(java.lang.String dir)
Deprecated. As of version 12.0. |
| Method Detail |
|---|
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 | ||||||||