VMware GemFire Java API Reference
Package org.apache.geode.admin
Interface CacheHealthConfig
-
- All Known Subinterfaces:
GemFireHealthConfig
@Deprecated public interface CacheHealthConfig
Deprecated.as of 7.0 use themanagementpackage insteadProvides configuration information relating to the health of a member of a GemFire distributed system that hosts a GemFireCache.If any of the following criteria is true, then a cache member is considered to be in
OKAY_HEALTH.netSearchoperations take too long to complete.- Cache
loadoperations take too long to complete. - The overall cache
hitRatiois too small - The number of entries in the Cache
event delivery queueis too large. - If one of the regions is configured with
FULL_ACCESSon role loss.
POOR_HEALTH.- If one of the regions is configured with
NO_ACCESSon role loss. - If one of the regions is configured with
LIMITED_ACCESSon role loss.
- Since:
- GemFire 3.5
-
-
Field Summary
Fields Modifier and Type Field Description static longDEFAULT_MAX_EVENT_QUEUE_SIZEDeprecated.The default maximum number of entries in the event delivery queue of a healthy cache member.static longDEFAULT_MAX_LOAD_TIMEDeprecated.The default maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.static longDEFAULT_MAX_NET_SEARCH_TIMEDeprecated.The default maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.static doubleDEFAULT_MIN_HIT_RATIODeprecated.The default minimum hit ratio of a healthy cache member.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description longgetMaxEventQueueSize()Deprecated.Returns the maximum number of entries in the event delivery queue of a healthy cache member.longgetMaxLoadTime()Deprecated.Returns the maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.longgetMaxNetSearchTime()Deprecated.Returns the maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.doublegetMinHitRatio()Deprecated.Returns the minimum hit ratio of a healthy cache member.voidsetMaxEventQueueSize(long maxEventQueueSize)Deprecated.Sets the maximum number of entries in the event delivery queue of a healthy cache member.voidsetMaxLoadTime(long maxLoadTime)Deprecated.Sets the maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.voidsetMaxNetSearchTime(long maxNetSearchTime)Deprecated.Sets the maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.voidsetMinHitRatio(double minHitRatio)Deprecated.Sets the minimum hit ratio of a healthy cache member.
-
-
-
Field Detail
-
DEFAULT_MAX_NET_SEARCH_TIME
static final long DEFAULT_MAX_NET_SEARCH_TIME
Deprecated.The default maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.- See Also:
- Constant Field Values
-
DEFAULT_MAX_LOAD_TIME
static final long DEFAULT_MAX_LOAD_TIME
Deprecated.The default maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.- See Also:
- Constant Field Values
-
DEFAULT_MIN_HIT_RATIO
static final double DEFAULT_MIN_HIT_RATIO
Deprecated.The default minimum hit ratio of a healthy cache member.- See Also:
- Constant Field Values
-
DEFAULT_MAX_EVENT_QUEUE_SIZE
static final long DEFAULT_MAX_EVENT_QUEUE_SIZE
Deprecated.The default maximum number of entries in the event delivery queue of a healthy cache member.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMaxNetSearchTime
long getMaxNetSearchTime()
Deprecated.Returns the maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.- Returns:
- the maximum number of milliseconds a
netSearchoperation can take before the cache member is considered to be unhealthy - See Also:
DEFAULT_MAX_NET_SEARCH_TIME
-
setMaxNetSearchTime
void setMaxNetSearchTime(long maxNetSearchTime)
Deprecated.Sets the maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy.- Parameters:
maxNetSearchTime- the maximum number of milliseconds anetSearchoperation can take before the cache member is considered to be unhealthy- See Also:
getMaxNetSearchTime()
-
getMaxLoadTime
long getMaxLoadTime()
Deprecated.Returns the maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.- Returns:
- the maximum number of milliseconds a cache
loadoperation can take before the cache member is considered to be unhealthy - See Also:
DEFAULT_MAX_LOAD_TIME
-
setMaxLoadTime
void setMaxLoadTime(long maxLoadTime)
Deprecated.Sets the maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy.- Parameters:
maxLoadTime- the maximum number of milliseconds a cacheloadoperation can take before the cache member is considered to be unhealthy- See Also:
getMaxLoadTime()
-
getMinHitRatio
double getMinHitRatio()
Deprecated.Returns the minimum hit ratio of a healthy cache member.- Returns:
- the minimum hit ratio of a healthy cache member
- See Also:
DEFAULT_MIN_HIT_RATIO
-
setMinHitRatio
void setMinHitRatio(double minHitRatio)
Deprecated.Sets the minimum hit ratio of a healthy cache member.- Parameters:
minHitRatio- the minimum hit ratio of a healthy cache member- See Also:
getMinHitRatio()
-
getMaxEventQueueSize
long getMaxEventQueueSize()
Deprecated.Returns the maximum number of entries in the event delivery queue of a healthy cache member.- Returns:
- the maximum number of entries in the event delivery queue of a healthy cache member
- See Also:
DEFAULT_MAX_EVENT_QUEUE_SIZE
-
setMaxEventQueueSize
void setMaxEventQueueSize(long maxEventQueueSize)
Deprecated.Sets the maximum number of entries in the event delivery queue of a healthy cache member.- Parameters:
maxEventQueueSize- the maximum number of entries in the event delivery queue of a healthy cache member- See Also:
getMaxEventQueueSize()
-
-