public 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 | Class and Description |
---|---|
static class |
H2ONode.H2Okey |
Modifier and Type | Field and Description |
---|---|
HeartBeat |
_heartbeat |
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) |
long |
get_max_mem() |
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)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
H2ONode |
readJSON_impl(AutoBuffer ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
static H2ONode |
self(java.net.InetAddress local) |
java.lang.String |
toString() |
AutoBuffer |
write_impl(AutoBuffer ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
DocGen.HTML |
writeHTML_impl(DocGen.HTML ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
AutoBuffer |
writeJSON_impl(AutoBuffer ab)
Implementation of the
Iced serialization protocol, only called by
auto-genned code. |
clone, frozenType, read, readExternal, readJSON, toJsonString, write, writeExternal, writeHTML, writeJSON
public long _last_heard_from
public volatile HeartBeat _heartbeat
public int _tcp_readers
public final 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 long get_max_mem()
public final AutoBuffer write_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.write_impl
in interface Freezable<H2ONode>
write_impl
in class Iced<H2ONode>
ab
- AutoBuffer
to write this object to.AutoBuffer
for flow-coding.public final H2ONode read_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.public final AutoBuffer writeJSON_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeJSON_impl
in interface Freezable<H2ONode>
writeJSON_impl
in class Iced<H2ONode>
ab
- AutoBuffer
to write this object to.AutoBuffer
for flow-coding.public final H2ONode readJSON_impl(AutoBuffer ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.readJSON_impl
in interface Freezable<H2ONode>
readJSON_impl
in class Iced<H2ONode>
ab
- AutoBuffer
to read this object from.public final DocGen.HTML writeHTML_impl(DocGen.HTML ab)
Iced
Iced
serialization protocol, only called by
auto-genned code. Not intended to be called by user code. Override only
for custom Iced serializers.writeHTML_impl
in interface Freezable<H2ONode>
writeHTML_impl
in class Iced<H2ONode>
ab
- html to write object to.