References Deprecated
ClusterSerializable is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private JsonObject | metadata
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | NodeInfo(String host, int port, JsonObject metadata)
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public String | |
| public JsonObject | metadata()
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| public int | |
| public int | readFromBuffer(int
the position where to start reading the start, Buffer bufferthe buffer)Buffer where the serialized bytes must be read fromImplements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Method invoked when deserializing bytes to this instance. |
| public String | |
| public void | writeToBuffer(Buffer
the buffer)Buffer where the serialized bytes must be written toImplements io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Method invoked when serializing this instance. |
| host | back to summary |
|---|---|
| private String host | |
| metadata | back to summary |
|---|---|
| private JsonObject metadata
References Deprecated
See corresponding docs for further information. | |
| port | back to summary |
|---|---|
| private int port | |
| NodeInfo | back to summary |
|---|---|
| public NodeInfo() | |
| NodeInfo | back to summary |
|---|---|
| public NodeInfo(String host, int port, JsonObject metadata)
References Deprecated
See corresponding docs for further information. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| host | back to summary |
|---|---|
| public String host() | |
| metadata | back to summary |
|---|---|
| public JsonObject metadata()
References Deprecated
See corresponding docs for further information. | |
| port | back to summary |
|---|---|
| public int port() | |
| readFromBuffer | back to summary |
|---|---|
| public int readFromBuffer(int start, Buffer buffer) Implements io. Doc from io. References Deprecated
See corresponding docs for further information. Method invoked when deserializing bytes to this instance. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| writeToBuffer | back to summary |
|---|---|
| public void writeToBuffer(Buffer buffer) Implements io. Doc from io. References Deprecated
See corresponding docs for further information. Method invoked when serializing this instance. | |