|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPageServerAdmin
This interface provides metrics and administration for the Crystal Reports Server. It stores information about the maximum number of simultaneous processing threads, the current number of processing threads running, the location of temp files, the number of minutes before an idle job is closed, the number of current connections, the number of requests queued, the total number of requests served, and the total bytes transferred. Management includes setting the directory for the Crystal Reports Page Server, the maximum idle time before a job is closed, and the maximum number of simultaneous processing threads allowed by the Crystal Reports Page Server.
| Method Summary | |
|---|---|
void |
commit()
Deprecated. As of version 12.0. |
int |
getBytesTransferred()
Deprecated. As of version 12.0. |
int |
getConnections()
Deprecated. As of version 12.0. |
int |
getDBRecordNum()
Deprecated. As of version 12.0. |
int |
getDBRecordNumUpdate()
Deprecated. As of version 12.0. |
java.lang.String |
getDirectory()
Deprecated. As of version 12.0. |
java.lang.String |
getDirectoryUpdate()
Deprecated. As of version 12.0. |
int |
getMaxIdleTime()
Deprecated. As of version 12.0. |
int |
getMaxIdleTimeUpdate()
Deprecated. As of version 12.0. |
int |
getMaxProcessingTime()
Deprecated. As of version 12.0. |
int |
getMaxProcessingTimeUpdate()
Deprecated. As of version 12.0. |
int |
getMaxThreads()
Deprecated. As of version 12.0. |
int |
getMaxThreadsUpdate()
Deprecated. As of version 12.0. |
int |
getQueuedRequests()
Deprecated. As of version 12.0. |
int |
getRefresh()
Deprecated. As of version 12.0. |
int |
getRefreshUpdate()
Deprecated. As of version 12.0. |
java.lang.String |
getServerLoad()
Deprecated. As of version 12.0. This method has been deprecated. The Crystal Reports Page/Cache Server no longer provides this metric. |
int |
getThreads()
Deprecated. As of version 12.0. |
int |
getTotalRequests()
Deprecated. As of version 12.0. |
boolean |
isAutomaticDBDisconnect()
Deprecated. As of version 12.0. |
boolean |
isAutomaticDBDisconnectUpdate()
Deprecated. As of version 12.0. |
boolean |
isRefreshAlwaysHitsDB()
Deprecated. As of version 12.0. |
boolean |
isRefreshAlwaysHitsDBUpdate()
Deprecated. As of version 12.0. |
void |
setAutomaticDBDisconnectUpdate(boolean s)
Deprecated. As of version 12.0. |
void |
setDBRecordNumUpdate(int n)
Deprecated. As of version 12.0. |
void |
setDirectoryUpdate(java.lang.String s)
Deprecated. As of version 12.0. |
void |
setMaxIdleTimeUpdate(int n)
Deprecated. As of version 12.0. |
void |
setMaxProcessingTimeUpdate(int n)
Deprecated. As of version 12.0. |
void |
setMaxThreadsUpdate(int n)
Deprecated. As of version 12.0. |
void |
setRefreshAlwaysHitsDBUpdate(boolean s)
Deprecated. As of version 12.0. |
void |
setRefreshUpdate(int n)
Deprecated. As of version 12.0. |
| Method Detail |
|---|
java.lang.String getDirectoryUpdate()
throws SDKException
Returns the Crystal Reports Page Server's directory path.
String containing the Crystal Reports Page Server's directory path.
SDKException - This is thrown if the process is unsuccessful.
void setDirectoryUpdate(java.lang.String s)
throws SDKException
Sets the Crystal Reports Page Server's directory path. This will take effect once the Crystal Reports Page Server is restarted.
s - A String specifying the Crystal Reports Page Server's directory path.
SDKException - This is thrown if the process is unsuccessful.
int getMaxThreadsUpdate()
throws SDKException
Returns the maximum number of simultaneous processing threads.
int specifying the maximum number of simultaneous processing threads.
SDKException - This is thrown if the process is unsuccessful.
void setMaxThreadsUpdate(int n)
throws SDKException
Sets the maximum number of simultaneous processing threads. This will take effect once the Crystal Reports Page Server is restarted. To do this you must first commit the changes and then restart the Crystal Reports Page Server. Restart the server through the SDK using the manageServer method. You can also restart the server through the Central Configuration Manager or the Central Management Console.
n - An int specifying the maximum number of simultaneous threads.
SDKException - This is thrown if the process is unsuccessful.
int getMaxIdleTimeUpdate()
throws SDKException
Returns the maximum time in minutes before an idle job is closed.
int containing the maximum time in minutes before an
idle job is closed.
SDKException - This is thrown if the process is unsuccessful.
void setMaxIdleTimeUpdate(int n)
throws SDKException
Sets the maximum time in minutes before an idle job is closed. This will take effect once the Crystal Reports Page Server is restarted. To do this you must first commit the changes and then restart the Crystal Reports Page Server. Restart the server through the SDK using the manageServer method. You can also restart the server through the Central Configuration Manager or the Central Management Console.
n - An int containing the maximum time in minutes before an
idle job is closed.
SDKException - This is thrown if the process is unsuccessful.
int getDBRecordNumUpdate()
throws SDKException
Returns the maximum number of database records to read, 0 is unlimited
int containing the maximum number of database records to read, 0 is unlimited
SDKException - This is thrown if the process is unsuccessful
void setDBRecordNumUpdate(int n)
throws SDKException
Sets the maximum number of database records to read; 0 is unlimited. This will take effect once the Crystal Reports Page Server is restarted. To do this you must first commit the changes and then restart the Crystal Reports Page Server. Restart the server through the SDK using the manageServer method. You can also restart the server through the Central Configuration Manager or the Central Management Console.
n - An int containing the maximum number of database records to read, 0 is unlimited
SDKException - This is thrown if the process is unsuccessful
boolean isRefreshAlwaysHitsDBUpdate()
throws SDKException
boolean indicating whether viewer refresh always hits database.
SDKException - This is thrown if the process is unsuccessful
void setRefreshAlwaysHitsDBUpdate(boolean s)
throws SDKException
s - A boolean to let viewer refresh hits the database
SDKException - This is thrown if the process is unsuccessful
int getRefreshUpdate()
throws SDKException
int containing the oldest processed data given to a client in minutes.
SDKException - This is thrown if the process is unsuccessful
void setRefreshUpdate(int n)
throws SDKException
n - An int containing the oldest processed data given to a client in minutes.
SDKException - This is thrown if the process is unsuccessful
int getMaxProcessingTimeUpdate()
throws SDKException
int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
void setMaxProcessingTimeUpdate(int n)
throws SDKException
n - An int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
boolean isAutomaticDBDisconnectUpdate()
throws SDKException
Returns a boolean that indicates whether the Crystal Reports Page Server automatically disconnects
from the database after all records have been retrieved.
true if the Crystal Reports Page Server automatically disconnects from the database after
all records have been retrieved, and false otherwise.
SDKException - This is thrown if the process is unsuccessful
void setAutomaticDBDisconnectUpdate(boolean s)
throws SDKException
Sets a boolean that indicates whether the Crystal Reports Page Server automatically disconnects from the
database after all records have been retrieved. This will take effect once the Crystal Reports Page Server is restarted. To do this you must first commit the changes
and then restart the Crystal Reports Page Server. Restart the server through the SDK using the manageServer method.
You can also restart the server through the Central Configuration Manager or the Central Management Console.
s - A boolean that specifies whether the server automatically disconnects from the database after all records have been retrieved.
SDKException - This is thrown if the process is unsuccessful
void commit()
throws SDKException
Commits to the CMS any changes that are made to the Crystal Reports Page Server.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getDirectory()
throws SDKException
Returns the Crystal Reports Page Server's current directory path.
String containing the Page Server's current directory path.
SDKException - This is thrown if the process is unsuccessful.
int getMaxThreads()
throws SDKException
Returns the maximum number of simultaneous processing threads.
int specifying the maximum number of simultaneous processing threads.
SDKException - This is thrown if the process is unsuccessful.
int getMaxIdleTime()
throws SDKException
Returns the maximum time in minutes before an idle job is closed.
int specifying the maximum time in minutes before an idle job
is closed.
SDKException - This is thrown if the process is unsuccessful.
int getConnections()
throws SDKException
Returns the total number of current connections from the Crystal Reports Cache Server(s).
int specifying the total number of current connections
from the Crystal Reports Cache Server(s).
SDKException - This is thrown if the process is unsuccessful.
int getQueuedRequests()
throws SDKException
Returns the number of Crystal Reports Cache Server(s) requests in the queue that are waiting to be processed.
int specifying the number of Crystal Reports Cache Server(s) requests in the
queue that are waiting to be processed.
SDKException - This is thrown if the process is unsuccessful.
int getThreads()
throws SDKException
Returns the current number of processing threads that are running.
int specifying the number of threads that are running.
SDKException - This is thrown if the process is unsuccessful.
int getTotalRequests()
throws SDKException
Returns the total number of requests served.
int specifying the total number of requests served.
SDKException - This is thrown if the process is unsuccessful.
int getBytesTransferred()
throws SDKException
Returns the total number of bytes transferred in KB.
int specifying the total number of bytes transferred in KB.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getServerLoad()
throws SDKException
Returns the current load on the Crystal Reports Page Server.
String containing the current server load.
SDKException - This is thrown if the process is unsuccessful.
int getDBRecordNum()
throws SDKException
Returns the maximum number of database records to read, 0 is unlimited
int containing the maximum number of database records to read, 0 is unlimited
SDKException - This is thrown if the process is unsuccessful
boolean isRefreshAlwaysHitsDB()
throws SDKException
boolean indicating whether viewer refresh always hits database.
SDKException - This is thrown if the process is unsuccessful
int getRefresh()
throws SDKException
int containing the oldest processed data given to a client in minutes.
SDKException - This is thrown if the process is unsuccessful
int getMaxProcessingTime()
throws SDKException
int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
boolean isAutomaticDBDisconnect()
throws SDKException
Returns true if report job automatically disconnects from database and disconnects when it is closed. Returns false if report job stays connected to database until it is closed.
boolean indicating if automatic disconnect is in use.
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 | ||||||||