management
package insteadpublic interface CacheHealthConfig
Cache.
If any of the following criteria is true, then a cache member is considered to be in
OKAY_HEALTH.
netSearch operations take too long to
complete.load operations take too long to
complete.hitRatio is too smallevent delivery queue is too
large.FULL_ACCESS on role loss.POOR_HEALTH.
NO_ACCESS on role loss.LIMITED_ACCESS on role loss.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MAX_EVENT_QUEUE_SIZE
Deprecated.
The default maximum number of entries in the event delivery queue of a healthy cache member.
|
static long |
DEFAULT_MAX_LOAD_TIME
Deprecated.
The default maximum mumber of milliseconds a cache
load operation can take before
the cache member is considered to be unhealthy. |
static long |
DEFAULT_MAX_NET_SEARCH_TIME
Deprecated.
The default maximum number of milliseconds a
netSearch operation can take before
the cache member is considered to be unhealthy. |
static double |
DEFAULT_MIN_HIT_RATIO
Deprecated.
The default minimum hit ratio of a healthy cache member.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxEventQueueSize()
Deprecated.
Returns the maximum number of entries in the event delivery queue of a healthy cache member.
|
long |
getMaxLoadTime()
Deprecated.
Returns the maximum mumber of milliseconds a cache
load operation can take before
the cache member is considered to be unhealthy. |
long |
getMaxNetSearchTime()
Deprecated.
Returns the maximum number of milliseconds a
netSearch operation can take before
the cache member is considered to be unhealthy. |
double |
getMinHitRatio()
Deprecated.
Returns the minimum hit ratio of a healthy cache member.
|
void |
setMaxEventQueueSize(long maxEventQueueSize)
Deprecated.
Sets the maximum number of entries in the event delivery queue of a healthy cache member.
|
void |
setMaxLoadTime(long maxLoadTime)
Deprecated.
Sets the maximum mumber of milliseconds a cache
load operation can take before the
cache member is considered to be unhealthy. |
void |
setMaxNetSearchTime(long maxNetSearchTime)
Deprecated.
Sets the maximum number of milliseconds a
netSearch operation can take before the
cache member is considered to be unhealthy. |
void |
setMinHitRatio(double minHitRatio)
Deprecated.
Sets the minimum hit ratio of a healthy cache member.
|
static final long DEFAULT_MAX_NET_SEARCH_TIME
netSearch operation can take before
the cache member is considered to be unhealthy.static final long DEFAULT_MAX_LOAD_TIME
load operation can take before
the cache member is considered to be unhealthy.static final double DEFAULT_MIN_HIT_RATIO
static final long DEFAULT_MAX_EVENT_QUEUE_SIZE
long getMaxNetSearchTime()
netSearch operation can take before
the cache member is considered to be unhealthy.DEFAULT_MAX_NET_SEARCH_TIMEvoid setMaxNetSearchTime(long maxNetSearchTime)
netSearch operation can take before the
cache member is considered to be unhealthy.getMaxNetSearchTime()long getMaxLoadTime()
load operation can take before
the cache member is considered to be unhealthy.DEFAULT_MAX_LOAD_TIMEvoid setMaxLoadTime(long maxLoadTime)
load operation can take before the
cache member is considered to be unhealthy.getMaxLoadTime()double getMinHitRatio()
DEFAULT_MIN_HIT_RATIOvoid setMinHitRatio(double minHitRatio)
getMinHitRatio()long getMaxEventQueueSize()
DEFAULT_MAX_EVENT_QUEUE_SIZEvoid setMaxEventQueueSize(long maxEventQueueSize)
getMaxEventQueueSize()