GemFire 6.6

com.gemstone.gemfire.admin
Interface MemberHealthConfig

All Known Subinterfaces:
GemFireHealthConfig

public interface MemberHealthConfig

Provides configuration information relating to the health of a member of a GemFire distributed system.

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

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

Since:
3.5

Field Summary
static long DEFAULT_MAX_MESSAGE_QUEUE_SIZE
          The default maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.
static long DEFAULT_MAX_REPLY_TIMEOUTS
          The default maximum number of message reply timeouts that can occur in a given health monitoring interval.
static double DEFAULT_MAX_RETRANSMISSION_RATIO
          The default maximum multicast retransmission ratio.
static long DEFAULT_MAX_VM_PROCESS_SIZE
          The default maximum VM process size (in megabytes) of a health member of the distributed system.
 
Method Summary
 long getMaxMessageQueueSize()
          Returns the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.
 long getMaxReplyTimeouts()
          Returns the maximum number message replies that can timeout in a healthy member.
 double getMaxRetransmissionRatio()
          Returns the maximum ratio of multicast retransmissions / total multicast messages.
 long getMaxVMProcessSize()
          Returns the maximum VM process size (in megabytes) of a healthy member of the distributed system.
 void setMaxMessageQueueSize(long maxMessageQueueSize)
          Sets the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.
 void setMaxReplyTimeouts(long maxReplyTimeouts)
          Sets the maximum number message replies that can timeout in a healthy member.
 void setMaxRetransmissionRatio(double ratio)
          Sets the maximum ratio of multicast retransmissions / total multicast messages.
 void setMaxVMProcessSize(long size)
          Sets the maximum VM process size (in megabytes) of a healthy member of the distributed system.
 

Field Detail

DEFAULT_MAX_VM_PROCESS_SIZE

static final long DEFAULT_MAX_VM_PROCESS_SIZE
The default maximum VM process size (in megabytes) of a health member of the distributed system. The default value is 1000.

See Also:
Constant Field Values

DEFAULT_MAX_MESSAGE_QUEUE_SIZE

static final long DEFAULT_MAX_MESSAGE_QUEUE_SIZE
The default maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have. The default value is 1000.

See Also:
Constant Field Values

DEFAULT_MAX_REPLY_TIMEOUTS

static final long DEFAULT_MAX_REPLY_TIMEOUTS
The default maximum number of message reply timeouts that can occur in a given health monitoring interval. The default value is zero.

See Also:
Constant Field Values

DEFAULT_MAX_RETRANSMISSION_RATIO

static final double DEFAULT_MAX_RETRANSMISSION_RATIO
The default maximum multicast retransmission ratio. The default value is 0.20 (twenty percent of messages retransmitted)

See Also:
Constant Field Values
Method Detail

getMaxVMProcessSize

long getMaxVMProcessSize()
Returns the maximum VM process size (in megabytes) of a healthy member of the distributed system.

See Also:
DEFAULT_MAX_VM_PROCESS_SIZE

setMaxVMProcessSize

void setMaxVMProcessSize(long size)
Sets the maximum VM process size (in megabytes) of a healthy member of the distributed system.

See Also:
getMaxVMProcessSize()

getMaxMessageQueueSize

long getMaxMessageQueueSize()
Returns the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.

See Also:
DEFAULT_MAX_MESSAGE_QUEUE_SIZE

setMaxMessageQueueSize

void setMaxMessageQueueSize(long maxMessageQueueSize)
Sets the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.

See Also:
getMaxMessageQueueSize()

getMaxReplyTimeouts

long getMaxReplyTimeouts()
Returns the maximum number message replies that can timeout in a healthy member.

See Also:
DEFAULT_MAX_REPLY_TIMEOUTS

setMaxReplyTimeouts

void setMaxReplyTimeouts(long maxReplyTimeouts)
Sets the maximum number message replies that can timeout in a healthy member.

See Also:
getMaxReplyTimeouts()

getMaxRetransmissionRatio

double getMaxRetransmissionRatio()
Returns the maximum ratio of multicast retransmissions / total multicast messages. Retransmissions are requestor-specific (i.e., unicast), so a single lost message may result in multiple retransmissions.

A high retransmission ratio may indicate poor network conditions requiring reduced flow-control settings, a udp-fragment-size setting that is too high.

See Also:
DEFAULT_MAX_RETRANSMISSION_RATIO

setMaxRetransmissionRatio

void setMaxRetransmissionRatio(double ratio)
Sets the maximum ratio of multicast retransmissions / total multicast messages.

See Also:
getMaxRetransmissionRatio()

GemFire 6.6

Copyright © 1997-2011 VMware, Inc. All rights reserved.