|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ICacheServerAdmin
This interface provides metrics and administration for the Crystal Reports Cache Server. It stores information about the maximum processing threads, the maximum cache size, the minutes before an idle job is closed, the location of the cache files, the total threads running, the number of requests served, the number of bytes transferred, the cache hit rate, the number of current connections, and the number of requests that are queued. You can also retrieve the collection of Crystal Reports Page Servers that the Crystal Reports Cache Server has connections to, and the number of connections made to the Page Server(s). This interface allows you to set the directory for the Crystal Reports Cache Server, the maximum idle time before a job is closed, and the maximum number of simultaneous processing threads allowed by the Crystal Reports Cache Server.
| Method Summary | |
|---|---|
int |
getCacheSize()
Deprecated. As of version 12.0. |
int |
getCacheSizeUpdate()
Deprecated. As of version 12.0. |
long |
getDriveSpaceUsed()
Deprecated. As of version 12.0. |
double |
getHitRate()
Deprecated. As of version 12.0. |
IPageServerConnection[] |
getPageServerConnection()
Deprecated. As of version 12.0. |
int |
getRefresh()
Deprecated. As of version 12.0. |
int |
getRefreshUpdate()
Deprecated. As of version 12.0. |
boolean |
isDbAlwaysHitOnRefresh()
Deprecated. As of version 12.0. |
boolean |
isDbAlwaysHitOnRefreshUpdate()
Deprecated. As of version 12.0. |
void |
setCacheSizeUpdate(int n)
Deprecated. As of version 12.0. |
void |
setDbAlwaysHitOnRefreshUpdate(boolean s)
Deprecated. As of version 12.0. |
void |
setRefreshUpdate(int n)
Deprecated. As of version 12.0. |
| Methods inherited from interface com.crystaldecisions.sdk.plugin.admin.cachepageserveradmin.IPageServerAdmin |
|---|
commit, getBytesTransferred, getConnections, getDBRecordNum, getDBRecordNumUpdate, getDirectory, getDirectoryUpdate, getMaxIdleTime, getMaxIdleTimeUpdate, getMaxProcessingTime, getMaxProcessingTimeUpdate, getMaxThreads, getMaxThreadsUpdate, getQueuedRequests, getServerLoad, getThreads, getTotalRequests, isAutomaticDBDisconnect, isAutomaticDBDisconnectUpdate, isRefreshAlwaysHitsDB, isRefreshAlwaysHitsDBUpdate, setAutomaticDBDisconnectUpdate, setDBRecordNumUpdate, setDirectoryUpdate, setMaxIdleTimeUpdate, setMaxProcessingTimeUpdate, setMaxThreadsUpdate, setRefreshAlwaysHitsDBUpdate |
| Method Detail |
|---|
int getCacheSizeUpdate()
throws SDKException
Returns the cache size in KB.
int specifying the cache size in KB.
SDKException - This is thrown if the process is unsuccessful.
void setCacheSizeUpdate(int n)
throws SDKException
Sets the cache size in KB. This will take effect once the Crystal Reports Cache Server is restarted.
n - An int specifying the new cache size in KB.
SDKException - This is thrown if the process is unsuccessful.
int getRefreshUpdate()
throws SDKException
Returns the amount of time in minutes before a shareable report will refresh from the database. This returns the value that will take effect once the Crystal Reports Cache Server is restarted.
getRefreshUpdate in interface IPageServerAdminint specifying the amount of time in minutes before a shareable report
will refresh from the database.
SDKException - This is thrown if the process is unsuccessful.
void setRefreshUpdate(int n)
throws SDKException
Sets the amount of time in minutes before a shareable report will refresh from the database. This will take effect once the Crystal Reports Cache Server is restarted.
setRefreshUpdate in interface IPageServerAdminn - An int specifying the amount of time in minutes before a shareable
report will refresh from the database.
SDKException - This is thrown if the process is unsuccessful.
boolean isDbAlwaysHitOnRefreshUpdate()
throws SDKException
Returns whether or not a request to refresh the report from the viewer will always hit the database. This returns the value that will take effect once the Crystal Reports Cache Server is restarted.
boolean specifying whether or not a request to refresh the report
from the viewer will always hit the database.
SDKException - This is thrown if the process is unsuccessful.
void setDbAlwaysHitOnRefreshUpdate(boolean s)
throws SDKException
Sets whether or not a request to refresh the report from the viewer will always hit the database. This will take effect once the Crystal Reports Cache Server is restarted.
s - A boolean specifying whether or not a request to refresh the report
from the viewer will always hit the database. This will either be true or
false.
SDKException - This is thrown if the process is unsuccessful.
int getCacheSize()
throws SDKException
Returns the current cache size in KB.
int specifying the current cache size in KB.
SDKException - This is thrown if the process is unsuccessful.
int getRefresh()
throws SDKException
Returns the amount of time in minutes before a shareable report will refresh from the database.
getRefresh in interface IPageServerAdminint specifying the amount of time in minutes before a shareable report
will refresh from the database.
SDKException - This is thrown if the process is unsuccessful.
boolean isDbAlwaysHitOnRefresh()
throws SDKException
Returns whether or not a request to refresh the report from the viewer will always hit the database.
boolean specifying whether or not a request to refresh the report from
the viewer will always hit the database.
SDKException - This is thrown if the process is unsuccessful.
long getDriveSpaceUsed()
throws SDKException
Returns the amount of disk space, in KB, used by the Crystal Reports Cache Server.
long specifying the amount of disk space, in KB, used by the
Crystal Reports Cache Server.
SDKException - This is thrown if the process is unsuccessful.
double getHitRate()
throws SDKException
Returns the rate at which requests can be fulfilled by the Crystal Reports Cache Server's cache.
double specifying the rate at which requests can be fulfilled by
the Crystal Reports Cache Server's cache.
SDKException - This is thrown if the process is unsuccessful.
IPageServerConnection[] getPageServerConnection()
throws SDKException
Returns the collection of Crystal Reports Page Servers connected to the current Crystal Reports Cache 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 | ||||||||