Package org.apache.geode.admin
Interface MemberHealthConfig
- All Known Subinterfaces:
GemFireHealthConfig
Deprecated.
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.
- The size of the VM process is too large.
- There are too many enqueued incoming/outgoing messages.
- Too many message sends
timeoutwhile waiting for a reply.
POOR_HEALTH.- Since:
- GemFire 3.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longDeprecated.The default maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.static final longDeprecated.The default maximum number of message reply timeouts that can occur in a given health monitoring interval.static final doubleDeprecated.The default maximum multicast retransmission ratio.static final longDeprecated.The default maximum VM process size (in megabytes) of a health member of the distributed system. -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Returns the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.longDeprecated.Returns the maximum number message replies that can timeout in a healthy member.doubleDeprecated.Returns the maximum ratio of multicast retransmissions / total multicast messages.longDeprecated.Returns the maximum VM process size (in megabytes) of a healthy member of the distributed system.voidsetMaxMessageQueueSize(long maxMessageQueueSize) Deprecated.Sets the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.voidsetMaxReplyTimeouts(long maxReplyTimeouts) Deprecated.Sets the maximum number message replies that can timeout in a healthy member.voidsetMaxRetransmissionRatio(double ratio) Deprecated.Sets the maximum ratio of multicast retransmissions / total multicast messages.voidsetMaxVMProcessSize(long size) Deprecated.Sets the maximum VM process size (in megabytes) of a healthy member of the distributed system.
-
Field Details
-
DEFAULT_MAX_VM_PROCESS_SIZE
static final long DEFAULT_MAX_VM_PROCESS_SIZEDeprecated.The default maximum VM process size (in megabytes) of a health member of the distributed system. The default value is 1000.- See Also:
-
DEFAULT_MAX_MESSAGE_QUEUE_SIZE
static final long DEFAULT_MAX_MESSAGE_QUEUE_SIZEDeprecated.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:
-
DEFAULT_MAX_REPLY_TIMEOUTS
static final long DEFAULT_MAX_REPLY_TIMEOUTSDeprecated.The default maximum number of message reply timeouts that can occur in a given health monitoring interval. The default value is zero.- See Also:
-
DEFAULT_MAX_RETRANSMISSION_RATIO
static final double DEFAULT_MAX_RETRANSMISSION_RATIODeprecated.The default maximum multicast retransmission ratio. The default value is 0.20 (twenty percent of messages retransmitted)- See Also:
-
-
Method Details
-
getMaxVMProcessSize
long getMaxVMProcessSize()Deprecated.Returns the maximum VM process size (in megabytes) of a healthy member of the distributed system.- Returns:
- the maximum VM process size (in megabytes) of a healthy member of the distributed system
- See Also:
-
setMaxVMProcessSize
void setMaxVMProcessSize(long size) Deprecated.Sets the maximum VM process size (in megabytes) of a healthy member of the distributed system.- Parameters:
size- the maximum VM process size (in megabytes) of a healthy member of the distributed system- See Also:
-
getMaxMessageQueueSize
long getMaxMessageQueueSize()Deprecated.Returns the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.- Returns:
- the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have
- See Also:
-
setMaxMessageQueueSize
void setMaxMessageQueueSize(long maxMessageQueueSize) Deprecated.Sets the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have.- Parameters:
maxMessageQueueSize- the maximum number of enqueued incoming or outgoing messages that a healthy member of a distributed system can have- See Also:
-
getMaxReplyTimeouts
long getMaxReplyTimeouts()Deprecated.Returns the maximum number message replies that can timeout in a healthy member.- Returns:
- the maximum number message replies that can timeout in a healthy member
- See Also:
-
setMaxReplyTimeouts
void setMaxReplyTimeouts(long maxReplyTimeouts) Deprecated.Sets the maximum number message replies that can timeout in a healthy member.- Parameters:
maxReplyTimeouts- the maximum number message replies that can timeout in a healthy member- See Also:
-
getMaxRetransmissionRatio
double getMaxRetransmissionRatio()Deprecated.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.
- Returns:
- the maximum ratio of multicast retransmissions / total multicast messages
- See Also:
-
setMaxRetransmissionRatio
void setMaxRetransmissionRatio(double ratio) Deprecated.Sets the maximum ratio of multicast retransmissions / total multicast messages.- Parameters:
ratio- the maximum ratio of multicast retransmissions / total multicast messages- See Also:
-
managementpackage instead