public class RegistrationInfo extends Object implements ClusterSerializable
| Constructor and Description |
|---|
RegistrationInfo() |
RegistrationInfo(String nodeId,
long seq,
boolean localOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
boolean |
localOnly() |
String |
nodeId() |
int |
readFromBuffer(int start,
Buffer buffer)
Method invoked when deserializing bytes to this instance.
|
long |
seq() |
String |
toString() |
void |
writeToBuffer(Buffer buffer)
Method invoked when serializing this instance.
|
public RegistrationInfo()
public RegistrationInfo(String nodeId, long seq, boolean localOnly)
public String nodeId()
public long seq()
public boolean localOnly()
public void writeToBuffer(Buffer buffer)
ClusterSerializablewriteToBuffer in interface io.vertx.core.shareddata.impl.ClusterSerializablebuffer - the Buffer where the serialized bytes must be written topublic int readFromBuffer(int start,
Buffer buffer)
ClusterSerializablereadFromBuffer in interface io.vertx.core.shareddata.impl.ClusterSerializablestart - the position where to start reading the bufferbuffer - the Buffer where the serialized bytes must be read fromCopyright © 2023 Eclipse. All rights reserved.