|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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()
Commits to the CMS any changes that are made to the Crystal Reports Page Server. |
int |
getBytesTransferred()
Returns the total number of bytes transferred in KB. |
int |
getConnections()
Returns the total number of current connections from the Crystal Reports Cache Server(s). |
int |
getDBRecordNum()
Returns the maximum number of database records to read, 0 is unlimited |
int |
getDBRecordNumUpdate()
Returns the maximum number of database records to read, 0 is unlimited |
java.lang.String |
getDirectory()
Returns the Crystal Reports Page Server's current directory path. |
java.lang.String |
getDirectoryUpdate()
Returns the Crystal Reports Page Server's directory path. |
int |
getMaxIdleTime()
Returns the maximum time in minutes before an idle job is closed. |
int |
getMaxIdleTimeUpdate()
Returns the maximum time in minutes before an idle job is closed. |
int |
getMaxProcessingTime()
Returns maximum minutes before processing is stopped. |
int |
getMaxProcessingTimeUpdate()
Returns maximum minutes before processing is stopped. |
int |
getMaxThreads()
Returns the maximum number of simultaneous processing threads. |
int |
getMaxThreadsUpdate()
Returns the maximum number of simultaneous processing threads. |
int |
getQueuedRequests()
Returns the number of Crystal Reports Cache Server(s) requests in the queue that are waiting to be processed. |
int |
getRefresh()
Returns the oldest processed data given to a client in minutes. |
int |
getRefreshUpdate()
Returns the oldest processed data given to a client in minutes. |
java.lang.String |
getServerLoad()
Deprecated. This method has been deprecated. The Crystal Reports Page/Cache Server no longer provides this metric. |
int |
getThreads()
Returns the current number of processing threads that are running. |
int |
getTotalRequests()
Returns the total number of requests served. |
boolean |
isAutomaticDBDisconnect()
Returns true if report job automatically disconnects from database and disconnects when it is closed. |
boolean |
isAutomaticDBDisconnectUpdate()
Returns a boolean that indicates whether the Crystal Reports Page Server automatically disconnects
from the database after all records have been retrieved.
|
boolean |
isRefreshAlwaysHitsDB()
Returns true if viewer refresh always hits database. |
boolean |
isRefreshAlwaysHitsDBUpdate()
Returns true if viewer refresh always hits the database. |
void |
setAutomaticDBDisconnectUpdate(boolean s)
Sets a boolean that indicates whether the Crystal Reports Page Server automatically disconnects from the
database after all records have been retrieved. |
void |
setDBRecordNumUpdate(int n)
Sets the maximum number of database records to read; 0 is unlimited. |
void |
setDirectoryUpdate(java.lang.String s)
Sets the Crystal Reports Page Server's directory path. |
void |
setMaxIdleTimeUpdate(int n)
Sets the maximum time in minutes before an idle job is closed. |
void |
setMaxProcessingTimeUpdate(int n)
Sets the maximum number of minutes before processing is stopped. |
void |
setMaxThreadsUpdate(int n)
Sets the maximum number of simultaneous processing threads. |
void |
setRefreshAlwaysHitsDBUpdate(boolean s)
Set to true if you want to let the viewer refresh when it hits the database. |
void |
setRefreshUpdate(int n)
Sets the oldest processed data given to a client in minutes. |
| Method Detail |
public 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.
public 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.
public 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.
public 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. For more information on starting servers, see the BusinessObjects Enterprise Administrator’s Guide.
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
n - An int specifying the maximum number of simultaneous threads.
SDKException - This is thrown if the process is unsuccessful.
public 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.
public 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. For more information on starting servers, see the BusinessObjects Enterprise Administrator’s Guide.
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
n - An int containing the maximum time in minutes before an
idle job is closed.
SDKException - This is thrown if the process is unsuccessful.
public 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
public 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. For more information on starting servers, see the BusinessObjects Enterprise Administrator’s Guide.
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
n - An int containing the maximum number of database records to read, 0 is unlimited
SDKException - This is thrown if the process is unsuccessful
public boolean isRefreshAlwaysHitsDBUpdate()
throws SDKException
boolean indicating whether viewer refresh always hits database.
SDKException - This is thrown if the process is unsuccessful
public void setRefreshAlwaysHitsDBUpdate(boolean s)
throws SDKException
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
s - A boolean to let viewer refresh hits the database
SDKException - This is thrown if the process is unsuccessful
public 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
public void setRefreshUpdate(int n)
throws SDKException
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
n - An int containing the oldest processed data given to a client in minutes.
SDKException - This is thrown if the process is unsuccessful
public int getMaxProcessingTimeUpdate()
throws SDKException
int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
public void setMaxProcessingTimeUpdate(int n)
throws SDKException
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
n - An int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
public 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
public 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.
For more information on starting servers, see the BusinessObjects Enterprise Administrator’s Guide.
For more information on performance, see “Modifying Crystal Reports Page Server performance settings” in the BusinessObjects Enterprise Administrator’s Guide.
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
public 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.
public 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.
public 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.
public 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.
public 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.
public 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.
public 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.
public 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.
public 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.
public 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.
public 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
public boolean isRefreshAlwaysHitsDB()
throws SDKException
boolean indicating whether viewer refresh always hits database.
SDKException - This is thrown if the process is unsuccessful
public 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
public int getMaxProcessingTime()
throws SDKException
int containing the maximum minutes before processing is stopped.
SDKException - This is thrown if the process is unsuccessful
public 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 | |||||||||