GemFire 5.8

com.gemstone.gemfire.admin
Interface CacheHealthConfig

All Known Subinterfaces:
GemFireHealthConfig

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.

If any of the following criteria is true, then a cache member is considered to be in POOR_HEALTH.

Since:
3.5

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

DEFAULT_MAX_NET_SEARCH_TIME

static final 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.

See Also:
Constant Field Values

DEFAULT_MAX_LOAD_TIME

static final 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.

See Also:
Constant Field Values

DEFAULT_MIN_HIT_RATIO

static final double DEFAULT_MIN_HIT_RATIO
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
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()
Returns the maximum number of milliseconds a netSearch operation can take before the cache member is considered to be unhealthy.

See Also:
DEFAULT_MAX_NET_SEARCH_TIME

setMaxNetSearchTime

void setMaxNetSearchTime(long maxNetSearchTime)
Sets the maximum number of milliseconds a netSearch operation can take before the cache member is considered to be unhealthy.

See Also:
getMaxNetSearchTime()

getMaxLoadTime

long getMaxLoadTime()
Returns the maximum mumber of milliseconds a cache load operation can take before the cache member is considered to be unhealthy.

See Also:
DEFAULT_MAX_LOAD_TIME

setMaxLoadTime

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.

See Also:
getMaxLoadTime()

getMinHitRatio

double getMinHitRatio()
Returns the minimum hit ratio of a healthy cache member.

See Also:
DEFAULT_MIN_HIT_RATIO

setMinHitRatio

void setMinHitRatio(double minHitRatio)
Sets the minimum hit ratio of a healthy cache member.

See Also:
getMinHitRatio()

getMaxEventQueueSize

long getMaxEventQueueSize()
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)
Sets the maximum number of entries in the event delivery queue of a healthy cache member.

See Also:
getMaxEventQueueSize()

GemFire 5.8

Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.