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 |
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() |
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) |
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, writeJSON
public transient long _last_heard_from
public transient volatile HeartBeat _heartbeat
public transient int _tcp_readers
public final water.H2ONode.H2Okey _key
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public 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)