public abstract class PaxosPacketDemultiplexer extends AbstractPacketDemultiplexer<org.json.JSONObject>
Used to get NIO to send paxos packets to PaxosManager. This class has been merged into PaxosManager now and will be soon deprecated.
AbstractPacketDemultiplexer.TaskerDEFAULT_THREAD_POOL_SIZE, log| Constructor and Description |
|---|
PaxosPacketDemultiplexer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
throttleExcessiveLoad() |
static PaxosPacket |
toPaxosPacket(org.json.JSONObject json) |
static PaxosPacket |
toPaxosPacket(org.json.JSONObject json,
Stringifiable<?> unstringer) |
emulateDelays, getHandleMessageReport, getPacketType, getThreadPoolSize, handleMessageSuper, isCongested, isOrderPreserving, loopback, matchesType, processHeader, register, register, register, register, register, register, registerOrderPreserving, setNumDemultiplexerThreads, setThreadName, setThreadPoolSize, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleMessagepublic static PaxosPacket toPaxosPacket(org.json.JSONObject json, Stringifiable<?> unstringer) throws org.json.JSONException
json - unstringer - org.json.JSONExceptionpublic static PaxosPacket toPaxosPacket(org.json.JSONObject json) throws org.json.JSONException
json - jsonorg.json.JSONExceptionpublic static void throttleExcessiveLoad()