public interface Member extends Serializable
Modifier and Type | Field and Description |
---|---|
static byte[] |
SHUTDOWN_PAYLOAD
When a member leaves the cluster, the payload of the memberDisappeared member
will be the following bytes.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCommand()
returns the command associated with this member
|
byte[] |
getDomain()
Domain for this cluster
|
byte[] |
getHost()
Returns the listen host for the ChannelReceiver implementation
|
long |
getMemberAliveTime()
Contains information on how long this member has been online.
|
String |
getName() |
byte[] |
getPayload()
returns the payload associated with this member
|
int |
getPort()
Returns the listen port for the ChannelReceiver implementation
|
int |
getSecurePort()
Returns the secure listen port for the ChannelReceiver implementation.
|
int |
getUdpPort()
Returns the UDP port that this member is listening to for UDP messages.
|
byte[] |
getUniqueId()
returns a UUID unique for this member over all sessions.
|
boolean |
isFailing() |
boolean |
isReady()
The current state of the member
|
boolean |
isSuspect()
The current state of the member
|
static final byte[] SHUTDOWN_PAYLOAD
String getName()
byte[] getHost()
ChannelReceiver
int getPort()
ChannelReceiver
int getSecurePort()
ChannelReceiver
int getUdpPort()
long getMemberAliveTime()
boolean isReady()
boolean isSuspect()
boolean isFailing()
byte[] getUniqueId()
byte[] getPayload()
byte[] getCommand()
byte[] getDomain()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.