|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CacheHealthConfig
Provides configuration information relating to the health of a
member of a GemFire distributed system that hosts a GemFire 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.
| Field Summary | |
|---|---|
static long |
DEFAULT_MAX_EVENT_QUEUE_SIZE
The default maximum number of entries in the event delivery queue of a healthy cache member. |
static long |
DEFAULT_MAX_LOAD_TIME
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
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
The default minimum hit ratio of a healthy cache member. |
| Method Summary | |
|---|---|
long |
getMaxEventQueueSize()
Returns the maximum number of entries in the event delivery queue of a healthy cache member. |
long |
getMaxLoadTime()
Returns the maximum mumber of milliseconds a cache load operation can take before the cache member is
considered to be unhealthy. |
long |
getMaxNetSearchTime()
Returns the maximum number of milliseconds a netSearch operation can take before the cache member
is considered to be unhealthy. |
double |
getMinHitRatio()
Returns the minimum hit ratio of a healthy cache member. |
void |
setMaxEventQueueSize(long maxEventQueueSize)
Sets the maximum number of entries in the event delivery queue of a healthy cache member. |
void |
setMaxLoadTime(long maxLoadTime)
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)
Sets the maximum number of milliseconds a netSearch operation can take before the cache member
is considered to be unhealthy. |
void |
setMinHitRatio(double minHitRatio)
Sets the minimum hit ratio of a healthy cache member. |
| Field Detail |
|---|
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
| Method Detail |
|---|
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()
|
GemFire 5.7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||