Package com.arcadedb.server.ha
Class ReplicationProtocol
- java.lang.Object
-
- java.lang.Thread
-
- com.arcadedb.server.ha.ReplicationProtocol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
-
Field Summary
Fields Modifier and Type Field Description static short
COMMAND_CONNECT
static short
COMMAND_ELECTION_COMPLETED
static short
COMMAND_VOTE_FOR_ME
static byte
ERROR_CONNECT_ELECTION_PENDING
static byte
ERROR_CONNECT_NOLEADER
static byte
ERROR_CONNECT_SAME_SERVERNAME
static byte
ERROR_CONNECT_UNSUPPORTEDPROTOCOL
static byte
ERROR_CONNECT_WRONGCLUSTERNAME
static long
MAGIC_NUMBER
static short
PROTOCOL_VERSION
-
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description ReplicationProtocol()
-
Method Summary
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
MAGIC_NUMBER
public static final long MAGIC_NUMBER
- See Also:
- Constant Field Values
-
PROTOCOL_VERSION
public static final short PROTOCOL_VERSION
- See Also:
- Constant Field Values
-
COMMAND_CONNECT
public static final short COMMAND_CONNECT
- See Also:
- Constant Field Values
-
COMMAND_VOTE_FOR_ME
public static final short COMMAND_VOTE_FOR_ME
- See Also:
- Constant Field Values
-
COMMAND_ELECTION_COMPLETED
public static final short COMMAND_ELECTION_COMPLETED
- See Also:
- Constant Field Values
-
ERROR_CONNECT_NOLEADER
public static final byte ERROR_CONNECT_NOLEADER
- See Also:
- Constant Field Values
-
ERROR_CONNECT_ELECTION_PENDING
public static final byte ERROR_CONNECT_ELECTION_PENDING
- See Also:
- Constant Field Values
-
ERROR_CONNECT_UNSUPPORTEDPROTOCOL
public static final byte ERROR_CONNECT_UNSUPPORTEDPROTOCOL
- See Also:
- Constant Field Values
-
ERROR_CONNECT_WRONGCLUSTERNAME
public static final byte ERROR_CONNECT_WRONGCLUSTERNAME
- See Also:
- Constant Field Values
-
ERROR_CONNECT_SAME_SERVERNAME
public static final byte ERROR_CONNECT_SAME_SERVERNAME
- See Also:
- Constant Field Values
-
-