public class ClientHealthStatus extends Object
Constructor and Description |
---|
ClientHealthStatus() |
Modifier and Type | Method and Description |
---|---|
int |
getClientCQCount() |
String |
getClientId()
Returns the ID of the client.
|
int |
getCpus()
Returns the number of CPUs available to the client.
|
String |
getHostName()
Returns the name of the host on which the client is running.
|
String |
getName()
Returns the name of the client.
|
int |
getNumOfCacheListenerCalls()
Returns the number of times a cache listener call has completed.
|
int |
getNumOfGets()
Returns the number of times a successful get operation has occurred.
|
int |
getNumOfMisses()
Returns the number of times a cache miss has occurred.
|
int |
getNumOfPuts()
Returns the number of times an entry was added or replaced in this cache as a result of a local
operation.
|
int |
getNumOfThreads()
Returns the number of threads currently in use.
|
Map<String,String> |
getPoolStats() |
long |
getProcessCpuTime()
Returns the amount of time (in nanoseconds) used by the client process.
|
int |
getQueueSize()
Returns the client queue size.
|
boolean |
getSubscriptionEnabled() |
long |
getUpTime()
Returns the amount of time (in seconds) that the client has been running.
|
boolean |
isConnected() |
void |
setClientCQCount(int clientCQCount) |
void |
setClientId(String clientId)
Sets the ID of the client.
|
void |
setConnected(boolean connected) |
void |
setCpus(int cpus)
Sets the number of CPUs available to the client.
|
void |
setHostName(String hostName)
Sets the name of the host on which the client is running.
|
void |
setName(String name)
Sets the name of the client.
|
void |
setNumOfCacheListenerCalls(int numOfCacheListenerCalls)
Sets the number of times a cache listener call has completed.
|
void |
setNumOfGets(int numOfGets)
Sets the number of times a successful get operation has occurred.
|
void |
setNumOfMisses(int numOfMisses)
Sets the number of times a cache miss has occurred.
|
void |
setNumOfPuts(int numOfPuts)
Set the number of times an entry was added or replaced in this cache as a result of a local
operation.
|
void |
setNumOfThreads(int numOfThreads)
Sets the number of threads currently in use.
|
void |
setPoolStats(Map<String,String> map) |
void |
setProcessCpuTime(long processCpuTime)
Sets the amount of time (in nanoseconds) used by the client process.
|
void |
setQueueSize(int queueSize)
Sets the client queue size.
|
void |
setSubscriptionEnabled(boolean subscriptionEnabled) |
void |
setUpTime(long upTime)
Sets the amount of time (in seconds) that the client has been running.
|
String |
toString() |
public int getNumOfGets()
public int getNumOfPuts()
public int getNumOfMisses()
public int getNumOfCacheListenerCalls()
public int getNumOfThreads()
public long getProcessCpuTime()
public int getCpus()
public long getUpTime()
public String getClientId()
public void setNumOfGets(int numOfGets)
numOfGets
- the number of times a successful get operation has occurredpublic void setNumOfPuts(int numOfPuts)
numOfPuts
- the number of times an entry was added or replaced in this cache as a result
of a local operationpublic void setNumOfMisses(int numOfMisses)
numOfMisses
- the number of times a cache miss has occurredpublic void setNumOfCacheListenerCalls(int numOfCacheListenerCalls)
numOfCacheListenerCalls
- the number of times a cache listener call has completedpublic void setNumOfThreads(int numOfThreads)
numOfThreads
- the number of threads currently in usepublic void setProcessCpuTime(long processCpuTime)
processCpuTime
- the amount of time (in nanoseconds) used by the client processpublic void setCpus(int cpus)
cpus
- the number of CPUs available to the clientpublic void setUpTime(long upTime)
upTime
- the amount of time (in seconds) that the client has been runningpublic void setQueueSize(int queueSize)
queueSize
- the client queue sizepublic void setClientId(String clientId)
clientId
- the ID of the clientpublic int getQueueSize()
public String getName()
public String getHostName()
public void setName(String name)
name
- the name of the clientpublic void setHostName(String hostName)
hostName
- the name of the host on which the client is runningpublic boolean isConnected()
public void setConnected(boolean connected)
public boolean getSubscriptionEnabled()
public int getClientCQCount()
public void setSubscriptionEnabled(boolean subscriptionEnabled)
public void setClientCQCount(int clientCQCount)