management
package instead@Deprecated public interface MemberHealthConfig
If any of the following criteria is true, then a member is considered to be in
OKAY_HEALTH
.
timeout
while waiting for a reply.POOR_HEALTH
.Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_MAX_MESSAGE_QUEUE_SIZE
Deprecated.
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
Deprecated.
The default maximum number of message reply timeouts that can occur in a given health
monitoring interval.
|
static double |
DEFAULT_MAX_RETRANSMISSION_RATIO
Deprecated.
The default maximum multicast retransmission ratio.
|
static long |
DEFAULT_MAX_VM_PROCESS_SIZE
Deprecated.
The default maximum VM process size (in megabytes) of a health member of the distributed
system.
|
Modifier and Type | Method and Description |
---|---|
long |
getMaxMessageQueueSize()
Deprecated.
Returns the maximum number of enqueued incoming or outgoing messages that a healthy member of a
distributed system can have.
|
long |
getMaxReplyTimeouts()
Deprecated.
Returns the maximum number message replies that can timeout in a healthy member.
|
double |
getMaxRetransmissionRatio()
Deprecated.
Returns the maximum ratio of multicast retransmissions / total multicast messages.
|
long |
getMaxVMProcessSize()
Deprecated.
Returns the maximum VM process size (in megabytes) of a healthy member of the distributed
system.
|
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.
|
void |
setMaxReplyTimeouts(long maxReplyTimeouts)
Deprecated.
Sets the maximum number message replies that can timeout in a healthy member.
|
void |
setMaxRetransmissionRatio(double ratio)
Deprecated.
Sets the maximum ratio of multicast retransmissions / total multicast messages.
|
void |
setMaxVMProcessSize(long size)
Deprecated.
Sets the maximum VM process size (in megabytes) of a healthy member of the distributed system.
|
static final long DEFAULT_MAX_VM_PROCESS_SIZE
static final long DEFAULT_MAX_MESSAGE_QUEUE_SIZE
static final long DEFAULT_MAX_REPLY_TIMEOUTS
static final double DEFAULT_MAX_RETRANSMISSION_RATIO
long getMaxVMProcessSize()
DEFAULT_MAX_VM_PROCESS_SIZE
void setMaxVMProcessSize(long size)
size
- the maximum VM process size (in megabytes) of a healthy member of the distributed
systemgetMaxVMProcessSize()
long getMaxMessageQueueSize()
DEFAULT_MAX_MESSAGE_QUEUE_SIZE
void setMaxMessageQueueSize(long maxMessageQueueSize)
maxMessageQueueSize
- the maximum number of enqueued incoming or outgoing messages that a
healthy member of a distributed system can havegetMaxMessageQueueSize()
long getMaxReplyTimeouts()
DEFAULT_MAX_REPLY_TIMEOUTS
void setMaxReplyTimeouts(long maxReplyTimeouts)
maxReplyTimeouts
- the maximum number message replies that can timeout in a healthy membergetMaxReplyTimeouts()
double getMaxRetransmissionRatio()
A high retransmission ratio may indicate poor network conditions requiring reduced flow-control settings, a udp-fragment-size setting that is too high.
DEFAULT_MAX_RETRANSMISSION_RATIO
void setMaxRetransmissionRatio(double ratio)
ratio
- the maximum ratio of multicast retransmissions / total multicast messagesgetMaxRetransmissionRatio()