Package DE_EPAGES::WebInterface::API::ASPoolDBCacheServer
This module provides methods for communication with the ASPoolDB cache server.
Functions
new
Creates a new ASPoolDBCacheServer object.
Syntax |
$CacheServer = DE_EPAGES::WebInterface::API::ASPoolDBCacheServer->new; |
Example |
my $CacheServer = DE_EPAGES::WebInterface::API::ASPoolDBCacheServer->new; $CacheServer->resetCache; |
Return |
|
ping
Sends a ping request to the ASPoolDB Cache Server.
Syntax |
$CacheServer->ping; $CacheServer->ping($Payload); |
Input |
|
Return |
|
requestCacheInfo
Requests information about the cache utilization of ASPoolDBCacheServers
Syntax |
$CacheServer->requestCacheInfo; |
Return |
|
requestPreferenceInfo
Returns the address of the currently preferred RequestRouter for the given pool
Syntax |
my $PreferredRR = $CacheServer->requestPreferenceInfo($PoolName); |
Input |
|
Return |
|
resetCache
Sends a cache reset request to the ASPoolDB Cache Server.
Syntax |
$CacheServer->resetCache; $CacheServer->resetCache($SiteGUID); |
Input |
|
resetStatistics
Resets cache statistics on all cache servers
Syntax |
$CacheServer->resetStatistics; |