public class Protocol.NodeGroupInfo extends Protocol.HandshakeMessage
Constructor and Description |
---|
Protocol.NodeGroupInfo(java.nio.ByteBuffer buffer) |
Protocol.NodeGroupInfo(java.lang.String groupName,
java.util.UUID uuid,
NameIdPair nameIdPair,
java.lang.String hostName,
int port,
NodeType nodeType,
boolean designatedPrimary) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroupName() |
java.lang.String |
getHostName() |
NameIdPair |
getNameIdPair() |
int |
getNodeId() |
java.lang.String |
getNodeName() |
NodeType |
getNodeType() |
BinaryProtocol.MessageOp |
getOp() |
java.util.UUID |
getUUID() |
boolean |
isDesignatedPrimary() |
int |
port() |
java.nio.ByteBuffer |
wireFormat()
The default message consists of the operation enum and just a 0
length size.
|
getBoolean, getByteArray, getDouble, getEnum, getNameIdPair, getRepNodeImplArray, getStringArray, getVLSN, wireFormat
allocateInitializedBuffer, match, toString
Protocol.NodeGroupInfo(java.lang.String groupName, java.util.UUID uuid, NameIdPair nameIdPair, java.lang.String hostName, int port, NodeType nodeType, boolean designatedPrimary)
public Protocol.NodeGroupInfo(java.nio.ByteBuffer buffer)
public BinaryProtocol.MessageOp getOp()
getOp
in class BinaryProtocol.Message
public java.nio.ByteBuffer wireFormat()
BinaryProtocol.Message
wireFormat
in interface BinaryProtocol.WireFormatable
wireFormat
in class BinaryProtocol.Message
public java.lang.String getGroupName()
public java.util.UUID getUUID()
public java.lang.String getNodeName()
public int getNodeId()
public java.lang.String getHostName()
public NameIdPair getNameIdPair()
public int port()
public NodeType getNodeType()
public boolean isDesignatedPrimary()
Copyright (c) 2004-2012 Oracle. All rights reserved.