| Package | Description |
|---|---|
| com.sleepycat.je.rep.elections |
INTERNAL: Elections of the master node among the nodes in a group.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| com.sleepycat.je.rep.monitor |
BDB JE HA support for applications that need to track the composition of a
replication group, in order to do tasks such as load balancing and
request routing.
|
| Constructor and Description |
|---|
Accept(String requestLine,
String[] tokens) |
Accepted(String responseLine,
String[] tokens) |
MasterQuery(String responseLine,
String[] tokens) |
MasterQueryResponse(String responseLine,
String[] tokens) |
Promise(String responseLine,
String[] tokens) |
Propose(String requestLine,
String[] tokens) |
Reject(String responseLine,
String[] tokens) |
Result(String requestLine,
String[] tokens) |
Shutdown(String responseLine,
String[] tokens) |
| Modifier and Type | Method and Description |
|---|---|
void |
TextProtocol.processIME(DataChannel channel,
TextProtocol.InvalidMessageException ime)
Process an IME encountered during request processing by writing a
ProtocolError message as a response and logging it.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
TextProtocol.Message.nextPayloadToken()
Returns the next token in the payload.
|
TextProtocol.Message |
TextProtocol.parse(String line)
Parses a line into a Request/Response message.
|
TextProtocol.RequestMessage |
TextProtocol.parseRequest(String requestLine)
Converts a request line into a requestMessage.
|
| Constructor and Description |
|---|
ProtocolError(TextProtocol.InvalidMessageException messageException) |
| Constructor and Description |
|---|
DeleteMember(String requestLine,
String[] tokens) |
EnsureNode(String line,
String[] tokens) |
EnsureOK(String line,
String[] tokens) |
Fail(String line,
String[] tokens) |
Fail(String line,
String[] tokens) |
GroupRequest(String line,
String[] tokens) |
GroupResponse(String line,
String[] tokens) |
Message(String line,
String[] tokens)
Every message must define a constructor of this form so that it can
be de-serialized.
|
NodeStateRequest(String line,
String[] tokens) |
NodeStateResponse(String line,
String[] tokens) |
OK(String line,
String[] tokens) |
ProtocolError(String responseLine,
String[] tokens) |
RemoveMember(String requestLine,
String[] tokens) |
RequestMessage(String line,
String[] tokens) |
ResponseMessage(String line,
String[] tokens) |
TransferMaster(String requestLine,
String[] tokens) |
TransferOK(String line,
String[] tokens) |
UpdateAddress(String requestLine,
String[] tokens) |
| Constructor and Description |
|---|
GroupChange(String line,
String[] tokens) |
JoinGroup(String line,
String[] tokens) |
LeaveGroup(String line,
String[] tokens) |
Copyright © 2024. All rights reserved.