com.sleepycat.je.rep.impl
Class BinaryNodeStateProtocol
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol
com.sleepycat.je.rep.impl.BinaryNodeStateProtocol
public class BinaryNodeStateProtocol
- extends BinaryProtocol
Defines the protocol used in support of node state querying.
Because this protocol has to transfer byte array between two nodes, so
instead of using the former NodeStateProtocol, we introduce this new
protocol which inherits from BinaryProtocol.
Note: once we support active version update, we can use one protocol only.
The message request sequence:
NODE_STATE_REQ -> NODE_STATE_RESP
Fields inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol |
CLIENT_VERSION, codeVersion, configuredVersion, envImpl, formatter, header, INCOMPATIBLE_VERSION, logger, MESSAGE_HEADER_SIZE, nameIdPair, nBytesRead, nBytesWritten, nMessagesRead, nMessagesWritten, nReadNanos, nWriteNanos, PROTOCOL_ERROR, SERVER_VERSION, stats |
Methods inherited from class com.sleepycat.je.rep.utilint.BinaryProtocol |
getPredefinedMessageCount, getStats, getString, getVersion, initializeMessageOps, messageCount, putString, read, read, resetStats, stringSize, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
BIN_NODE_STATE_REQ
public static final BinaryProtocol.MessageOp BIN_NODE_STATE_REQ
BIN_NODE_STATE_RESP
public static final BinaryProtocol.MessageOp BIN_NODE_STATE_RESP
BinaryNodeStateProtocol
public BinaryNodeStateProtocol(NameIdPair nameIdPair,
RepImpl repImpl)
Copyright (c) 2004-2012 Oracle. All rights reserved.