public class StaticMember extends MemberImpl
command, dataPkg, DO_DNS_LOOKUPS, domain, host, hostname, memberAliveTime, msgCount, payload, port, securePort, serviceStartTime, TRIBES_MBR_BEGIN, TRIBES_MBR_END, udpPort, uniqueId
SHUTDOWN_PAYLOAD
Constructor and Description |
---|
StaticMember() |
StaticMember(String host,
int port,
long aliveTime) |
StaticMember(String host,
int port,
long aliveTime,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
void |
setDomain(String domain) |
void |
setHost(String host) |
void |
setUniqueId(String id) |
bToS, bToS, equals, getCommand, getData, getData, getData, getDataLength, getDomain, getHost, getHostname, getMember, getMember, getMember, getMember, getMemberAliveTime, getMsgCount, getName, getPayload, getPort, getSecurePort, getServiceStartTime, getUdpPort, getUniqueId, hashCode, inc, isFailing, isReady, isSuspect, readExternal, setCommand, setDomain, setHost, setHostname, setMemberAliveTime, setMsgCount, setPayload, setPort, setSecurePort, setServiceStartTime, setUdpPort, setUniqueId, toString, writeExternal
public StaticMember()
public StaticMember(String host, int port, long aliveTime) throws IOException
IOException
public StaticMember(String host, int port, long aliveTime, byte[] payload) throws IOException
IOException
public void setHost(String host)
host
- String, either in byte array string format, like {214,116,1,3}
or as a regular hostname, 127.0.0.1 or tomcat01.mydomain.compublic void setDomain(String domain)
domain
- String, either in byte array string format, like {214,116,1,3}
or as a regular string value like 'mydomain'. The latter will be converted using ISO-8859-1 encodingpublic void setUniqueId(String id)
id
- String, must be in byte array string format, like {214,116,1,3} and exactly 16 bytes longCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.