public class NodeInfo extends Object implements io.vertx.core.shareddata.impl.ClusterSerializable
| Constructor and Description |
|---|
NodeInfo() |
NodeInfo(String host,
int port,
JsonObject metadata) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
host() |
JsonObject |
metadata() |
int |
port() |
int |
readFromBuffer(int start,
Buffer buffer) |
String |
toString() |
void |
writeToBuffer(Buffer buffer) |
public NodeInfo()
public NodeInfo(String host, int port, JsonObject metadata)
public String host()
public int port()
public JsonObject metadata()
public void writeToBuffer(Buffer buffer)
writeToBuffer in interface io.vertx.core.shareddata.impl.ClusterSerializablepublic int readFromBuffer(int start,
Buffer buffer)
readFromBuffer in interface io.vertx.core.shareddata.impl.ClusterSerializableCopyright © 2021 Eclipse. All rights reserved.