Class RegistrationInfo
java.lang.Object
io.vertx.core.spi.cluster.RegistrationInfo
- All Implemented Interfaces:
ClusterSerializable
Registration data stored by the cluster manager.
- Author:
- Thomas Segismont
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleannodeId()intreadFromBuffer(int start, Buffer buffer) Method invoked when deserializing bytes to this instance.longseq()toString()voidwriteToBuffer(Buffer buffer) Method invoked when serializing this instance.
-
Constructor Details
-
RegistrationInfo
public RegistrationInfo() -
RegistrationInfo
-
-
Method Details
-
nodeId
-
seq
public long seq() -
localOnly
public boolean localOnly() -
equals
-
hashCode
-
toString
-
writeToBuffer
Description copied from interface:ClusterSerializableMethod invoked when serializing this instance.- Specified by:
writeToBufferin interfaceClusterSerializable- Parameters:
buffer- theBufferwhere the serialized bytes must be written to
-
readFromBuffer
Description copied from interface:ClusterSerializableMethod invoked when deserializing bytes to this instance.- Specified by:
readFromBufferin interfaceClusterSerializable- Parameters:
start- the position where to start reading thebufferbuffer- theBufferwhere the serialized bytes must be read from- Returns:
- the position after the last serialized byte
-