public final class H2ONode extends Iced<H2ONode> implements java.lang.Comparable
Node in an H2O Cloud.
Basically a worker-bee with CPUs, Memory and Disk.
One of this is the self-Node, but the rest are remote Nodes.| Modifier and Type | Field and Description |
|---|---|
HeartBeat |
_heartbeat |
water.H2ONode.H2Okey |
_key |
long |
_last_heard_from |
boolean |
_removed_from_cloud |
int |
_tcp_readers |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getIpPortString() |
H2OSecurityManager |
getSecurityManager() |
SocketChannelFactory |
getSocketFactory() |
int |
hashCode() |
int |
index() |
static H2ONode |
intern(byte[] bs,
int off) |
static H2ONode |
intern(java.net.InetAddress ip,
int port) |
int |
ip4() |
H2ONode |
read_impl(AutoBuffer ab) |
H2ONode |
readJSON_impl(AutoBuffer ab) |
static H2ONode |
self(java.net.InetAddress local) |
void |
sendMessage(java.nio.ByteBuffer bb,
byte msg_priority) |
void |
stopSendThread() |
java.lang.String |
toString() |
AutoBuffer |
write_impl(AutoBuffer ab) |
AutoBuffer |
writeJSON_impl(AutoBuffer ab) |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSONpublic transient long _last_heard_from
public transient volatile HeartBeat _heartbeat
public transient int _tcp_readers
public boolean _removed_from_cloud
public final water.H2ONode.H2Okey _key
public void stopSendThread()
public java.lang.String getIpPortString()
public final int ip4()
public static H2ONode intern(java.net.InetAddress ip, int port)
public static H2ONode intern(byte[] bs, int off)
public static H2ONode self(java.net.InetAddress local)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic int index()
public void sendMessage(java.nio.ByteBuffer bb,
byte msg_priority)
public final AutoBuffer write_impl(AutoBuffer ab)
public final H2ONode read_impl(AutoBuffer ab)
public final AutoBuffer writeJSON_impl(AutoBuffer ab)
public final H2ONode readJSON_impl(AutoBuffer ab)
public SocketChannelFactory getSocketFactory()
public H2OSecurityManager getSecurityManager()