public class StaticMember extends MemberImpl
command, dataPkg, DO_DNS_LOOKUPS, domain, host, hostname, local, memberAliveTime, msgCount, payload, port, securePort, serviceStartTime, sm, TRIBES_MBR_BEGIN, TRIBES_MBR_END, udpPort, uniqueId
SHUTDOWN_PAYLOAD
Constructor and Description |
---|
StaticMember() |
StaticMember(java.lang.String host,
int port,
long aliveTime) |
StaticMember(java.lang.String host,
int port,
long aliveTime,
byte[] payload) |
Modifier and Type | Method and Description |
---|---|
void |
setDomain(java.lang.String domain) |
void |
setHost(java.lang.String host) |
void |
setUniqueId(java.lang.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, isLocal, isReady, isSuspect, readExternal, setCommand, setDomain, setHost, setHostname, setLocal, setMemberAliveTime, setMsgCount, setPayload, setPort, setSecurePort, setServiceStartTime, setUdpPort, setUniqueId, toString, writeExternal
public StaticMember()
public StaticMember(java.lang.String host, int port, long aliveTime) throws java.io.IOException
java.io.IOException
public StaticMember(java.lang.String host, int port, long aliveTime, byte[] payload) throws java.io.IOException
java.io.IOException
public void setHost(java.lang.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(java.lang.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(java.lang.String id)
id
- String, must be in byte array string format, like {214,116,1,3} and exactly 16 bytes longCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.