A C D E F G H I L M N O P R S T V W 

A

AbstractRaftCommand - Class in org.jsimpledb.kv.raft.cmd
 
AbstractRaftCommand(String) - Constructor for class org.jsimpledb.kv.raft.cmd.AbstractRaftCommand
 
AbstractRaftCommand.RaftAction - Class in org.jsimpledb.kv.raft.cmd
 
AbstractRaftCommand.RaftAction() - Constructor for class org.jsimpledb.kv.raft.cmd.AbstractRaftCommand.RaftAction
 
AbstractTransactionRaftCommand - Class in org.jsimpledb.kv.raft.cmd
 
AbstractTransactionRaftCommand(String) - Constructor for class org.jsimpledb.kv.raft.cmd.AbstractTransactionRaftCommand
 
AbstractTransactionRaftCommand.RaftTransactionAction - Class in org.jsimpledb.kv.raft.cmd
 
AbstractTransactionRaftCommand.RaftTransactionAction() - Constructor for class org.jsimpledb.kv.raft.cmd.AbstractTransactionRaftCommand.RaftTransactionAction
 
adjustCounter(byte[], long) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
AppendRequest - Class in org.jsimpledb.kv.raft.msg
Sent from leaders to followers to probe the follower's log state and/or append an entry to their log.
AppendRequest(int, String, String, long, Timestamp, Timestamp, long, long, long) - Constructor for class org.jsimpledb.kv.raft.msg.AppendRequest
Constructor for a "probe" that does not contain a log entry.
AppendRequest(int, String, String, long, Timestamp, Timestamp, long, long, long, long, ByteBuffer) - Constructor for class org.jsimpledb.kv.raft.msg.AppendRequest
Constructor for a request that contains an actual log entry.
AppendResponse - Class in org.jsimpledb.kv.raft.msg
Sent from a follower to a leader in response to an AppendRequest.
AppendResponse(int, String, String, long, Timestamp, boolean, long, long) - Constructor for class org.jsimpledb.kv.raft.msg.AppendResponse
Constructor.

C

calculateSize() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.Message
Calculate an upper bound on the number of bytes required by writeTo().
calculateSize(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
 
calculateSize(String) - Static method in class org.jsimpledb.kv.raft.msg.Message
 
calculateSize(Timestamp) - Static method in class org.jsimpledb.kv.raft.msg.Message
 
calculateSize() - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 
CandidateRole - Class in org.jsimpledb.kv.raft
Raft candidate role.
caseAppendRequest(AppendRequest) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle an AppendRequest.
caseAppendResponse(AppendResponse) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle an AppendResponse.
caseCommitRequest(CommitRequest) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle a CommitRequest.
caseCommitResponse(CommitResponse) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle a CommitResponse.
caseGrantVote(GrantVote) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle an GrantVote.
caseInstallSnapshot(InstallSnapshot) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle a InstallSnapshot.
casePingRequest(PingRequest) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle a PingRequest.
casePingResponse(PingResponse) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle a PingResponse.
caseRequestVote(RequestVote) - Method in interface org.jsimpledb.kv.raft.msg.MessageSwitch
Handle an RequestVote.
checkAvailability() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Perform an availability assessment of the underlying RaftKVDatabase associated with this instance.
clone() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
 
commit() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
commit() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
CommitRequest - Class in org.jsimpledb.kv.raft.msg
Sent from followers to leaders to start the commit of a transaction.
CommitRequest(int, String, String, long, long, long, long, ByteBuffer, ByteBuffer) - Constructor for class org.jsimpledb.kv.raft.msg.CommitRequest
Constructor.
CommitResponse - Class in org.jsimpledb.kv.raft.msg
Response to a CommitRequest.
CommitResponse(int, String, String, long, long, long, long) - Constructor for class org.jsimpledb.kv.raft.msg.CommitResponse
Constructor for success case, when there is no minimum leader lease timeout required for commit (read-write transaction, or read-only transaction occurring within the current leader lease timeout).
CommitResponse(int, String, String, long, long, long, long, Timestamp) - Constructor for class org.jsimpledb.kv.raft.msg.CommitResponse
Constructor for success case when a minimum leader lease timeout is required for commit (read-only transaction when leader has not heard from a majority of followers in at least a minimum election timeout.
CommitResponse(int, String, String, long, long, String) - Constructor for class org.jsimpledb.kv.raft.msg.CommitResponse
Constructor for error case.
compareTo(Timestamp) - Method in class org.jsimpledb.kv.raft.Timestamp
Compare two instances, where "smaller" means earlier in time.
configChange(String, String) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Include a cluster configuration change when this transaction is committed.
Consistency - Enum in org.jsimpledb.kv.raft
RaftKVTransaction supported consistency levels.
createExecutorThread(Runnable, int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Create the service thread used by this instance.
createKVDatabase(Object, KVDatabase, AtomicKVStore) - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
createTransaction() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
createTransaction(Map<String, ?>) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
createTransaction() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Create a new transaction.
createTransaction(Map<String, ?>) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
 
createTransaction(Consistency) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Create a new transaction with the specified consistency.

D

decode(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Decode a message from the given input.
decodeCounter(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
DEFAULT_CHECK_INTERVAL - Static variable in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Default check interval (2000ms).
DEFAULT_COMMIT_TIMEOUT - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default transaction commit timeout (5000).
DEFAULT_HEARTBEAT_TIMEOUT - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default heartbeat timeout (200ms).
DEFAULT_MAX_ELECTION_TIMEOUT - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default maximum election timeout (1000ms).
DEFAULT_MAX_TRANSACTION_DURATION - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default maximum supported outstanding transaction duration (5000ms).
DEFAULT_MAX_UNAPPLIED_LOG_MEMORY - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default maximum supported applied log entry memory usage (104857600L bytes).
DEFAULT_MIN_AVAILABLE_TIME - Static variable in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Default minimum available type (10000ms).
DEFAULT_MIN_ELECTION_TIMEOUT - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default minimum election timeout (750ms).
DEFAULT_MIN_UNAVAILABLE_TIME - Static variable in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Default minimum unavailable type (30000ms).
DEFAULT_TCP_PORT - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
Default TCP port (9660) used to communicate with peers.
DEFAULT_TRANSACTION_TIMEOUT - Static variable in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Default transaction timeout for assessing availability (1000ms).
delegate() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 

E

encode() - Method in class org.jsimpledb.kv.raft.msg.Message
Serialize this instance.
encodeCounter(long) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
equals(Object) - Method in class org.jsimpledb.kv.raft.Timestamp
 

F

FallbackKVDatabase - Class in org.jsimpledb.kv.raft.fallback
A partition-tolerant KVDatabase that automatically migrates between a clustered RaftKVDatabase and a local, non-clustered "standalone mode" KVDatabase, based on availability of the Raft cluster.
FallbackKVDatabase() - Constructor for class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
FallbackKVTransaction - Class in org.jsimpledb.kv.raft.fallback
A KVTransaction associated with a FallbackKVDatabase.
FallbackTarget - Class in org.jsimpledb.kv.raft.fallback
Represents one of the underlying RaftKVDatabases managed by a FallbackKVDatabase.
FallbackTarget() - Constructor for class org.jsimpledb.kv.raft.fallback.FallbackTarget
 
finalize() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
Follower - Class in org.jsimpledb.kv.raft
Contains information maintained by leaders about followers.
FollowerRole - Class in org.jsimpledb.kv.raft
Raft follower role.

G

get(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftAddCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackForceStandaloneCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackStatusCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftRemoveCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftStartElectionCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftStatusCommand
 
getAction(CliSession, ParseContext, boolean, Map<String, Object>) - Method in class org.jsimpledb.kv.raft.cmd.RaftStepDownCommand
 
getAddress() - Method in class org.jsimpledb.kv.raft.Follower
Get the address of this follower.
getAge() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the age of this log entry since instantiation.
getAtLeast(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
getAtMost(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
getBaseIndex() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
getBaseIndex() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the index of the log entry on which this transaction is based.
getBaseTerm() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
getBaseTerm() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the term of the log entry on which this transaction is based.
getBoolean(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a boolean value previously serialized by putBoolean() from the buffer.
getByteBuffer(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a ByteBuffer previously serialized by putByteBuffer() from the buffer.
getCheckInterval() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the interval between availability checks.
getClusterId() - Method in class org.jsimpledb.kv.raft.msg.Message
Get the cluster ID of the sender.
getClusterId() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Retrieve the unique 32-bit ID for this node's cluster.
getCommandLineOptions() - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
getCommitIndex() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Get the commit index for the transaction.
getCommitIndex() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this instance's current commit index..
getCommitIndex() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the index of the Raft log entry on which this transaction is waiting to be committed (in the Raft sense) before it can complete.
getCommitLeaderLeaseTimeout() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Get the minimum required leader lease timeout value to commit, if any.
getCommitTerm() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Get the commit term for the transaction.
getCommitTerm() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the term of the Raft log entry on which this transaction is waiting to be committed (in the Raft sense) before it can complete.
getCommitTimeout() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured default transaction commit timeout.
getConfigChange() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the cluster config change associated with this log entry, if any.
getConfigChange() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the cluster configuration change associated with this transaction, if any.
getConsistency() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the consistency level for this transaction.
getCurrentConfig() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Retrieve the current cluster configuration as understood by this node.
getCurrentRole() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this instance's current role: leadeer, follower, or candidate.
getCurrentTargetIndex() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the index of the currently active database.
getCurrentTerm() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this instance's current term.
getCurrentTermStartTime() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the time at which this instance's current term advanced to its current value.
getData() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
getDescription(Object) - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
getElectionTimeout() - Method in class org.jsimpledb.kv.raft.NonLeaderRole
Get the election timer deadline, if currently running.
getErrorMessage() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Get the error message in case of failure.
getFallbackTarget() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get most preferred FallbackTarget.
getFallbackTargets() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the FallbackTarget(s).
getFile() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the on-disk file for this log entry.
getFileSize() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the size of the on-disk file for this log entry.
getFollowers() - Method in class org.jsimpledb.kv.raft.LeaderRole
Get this leader's known followers.
getHeartbeatTimeout() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured heartbeat timeout.
getHelpDetail() - Method in class org.jsimpledb.kv.raft.cmd.RaftAddCommand
 
getHelpDetail() - Method in class org.jsimpledb.kv.raft.cmd.RaftRemoveCommand
 
getHelpDetail() - Method in class org.jsimpledb.kv.raft.cmd.RaftStartElectionCommand
 
getHelpDetail() - Method in class org.jsimpledb.kv.raft.cmd.RaftStepDownCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftAddCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackForceStandaloneCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackStatusCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftRemoveCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftStartElectionCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftStatusCommand
 
getHelpSummary() - Method in class org.jsimpledb.kv.raft.cmd.RaftStepDownCommand
 
getIdentity() - Method in class org.jsimpledb.kv.raft.Follower
Get the identity of this follower.
getIdentity() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this node's Raft identity.
getIndex() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the index of this instance.
getInitialTargetIndex() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the configured target index to use when starting up for the very first time.
getKVDatabase() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
getKVDatabase() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
getKVDatabase() - Method in class org.jsimpledb.kv.raft.Role
Get the RaftKVDatabase with which this instance is associated.
getKVTransaction() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
Get the underlying transaction, which will be associated with either one of the fallback databases, or the standalone mode database.
getLastActiveTime() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the last time this target was the active database.
getLastAppliedIndex() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this instance's last applied log entry index.
getLastAppliedTerm() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get this instance's last applied log entry term.
getLastChangeTime() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the time of the last change in availability of this target, if known.
getLastLogIndex() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
Get the index of the last log entry in the follower's log.
getLastLogIndex() - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 
getLastLogTerm() - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 
getLastStandaloneActiveTime() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the last time the standalone database was active.
getLeaderAddress() - Method in class org.jsimpledb.kv.raft.FollowerRole
Get the address of my leader, if known.
getLeaderCommit() - Method in class org.jsimpledb.kv.raft.Follower
Get the leader commit index most recently sent to this follower.
getLeaderCommit() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
Get leader's commit index.
getLeaderIdentity() - Method in class org.jsimpledb.kv.raft.FollowerRole
Get the identity of my leader, if known.
getLeaderLeaseTimeout() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
getLeaderTimestamp() - Method in class org.jsimpledb.kv.raft.Follower
Get the most recent (leader's) request timestamp returned by this follower in a response, if any.
getLeaderTimestamp() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
getLeaderTimestamp() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
Get the leaderTimestamp from the corresponding AppendRequest.
getLeaseTimeout() - Method in class org.jsimpledb.kv.raft.LeaderRole
Get this leader's "lease timeout".
getLogDirectory() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the directory in which uncommitted log entries are stored.
getLogEntryTerm() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
getMatchIndex() - Method in class org.jsimpledb.kv.raft.Follower
Get the index of the highest log entry in the follower's log known to match the leader's log.
getMatchIndex() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
Get the index of the most recent log entry known to match leader.
getMaxElectionTimeout() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured maximum election timeout.
getMaximumTargetIndex() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the maximum allowed target index.
getMaxTransactionDuration() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured maximum supported duration for outstanding transactions.
getMaxUnappliedLogMemory() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured maximum allowed memory used for unapplied log entries.
getMillis() - Method in class org.jsimpledb.kv.raft.Timestamp
Get the relative milliseconds value contained by this instance.
getMinAvailableTime() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the minimum amount of time after becoming available before allowing this instance to become unavailable again.
getMinElectionTimeout() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the configured minimum election timeout.
getMinUnavailableTime() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the minimum amount of time after becoming unavailable before allowing this instance to become available again.
getMutationData() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
Get the serialized data for the log entry, if any.
getMutationData() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
Get the transaction's mutations.
getNextIndex() - Method in class org.jsimpledb.kv.raft.Follower
Get the index of the next log entry to send to this follower.
getNodesProbed() - Method in class org.jsimpledb.kv.raft.FollowerRole
Determine the number of nodes (including this node) that this node has successfully probed when probing for a majority of nodes with PingRequests prior to reverting to a candidate.
getOpenTransactions() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the set of open transactions associated with this database.
getPairIndex() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
getPrevLogIndex() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
getPrevLogTerm() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
getRaftKVDatabase() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
getRange(byte[], byte[], boolean) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
getReads(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a Reads previously serialized by putReads() from the buffer.
getReadsData() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
getRecipientId() - Method in class org.jsimpledb.kv.raft.msg.Message
Get the identity of the recipient.
getRejoinMergeStrategy() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the merge strategy to apply when transitioning from a lower priority database to this database because our RaftKVDatabase cluster has become available.
getSenderId() - Method in class org.jsimpledb.kv.raft.msg.Message
Get the identity of the sender.
getSessionModes() - Method in class org.jsimpledb.kv.raft.cmd.AbstractRaftCommand
 
getSessionModes() - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackForceStandaloneCommand
 
getSessionModes() - Method in class org.jsimpledb.kv.raft.cmd.RaftFallbackStatusCommand
 
getSnapshotConfig() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
getSnapshotIndex() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
getSnapshotTerm() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
getStandaloneTarget() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get the configured "standalone mode" KVDatabase to be used when all FallbackTargets are unavailable.
getState() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the state of this transaction.
getStateFile() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Get this instance's persistent state file.
getString(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a String previously serialized by putString() from the buffer.
getTerm() - Method in class org.jsimpledb.kv.raft.LogEntry
Get the term of this instance.
getTerm() - Method in class org.jsimpledb.kv.raft.msg.Message
Get the term of the sender of this message.
getTimestamp(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a Timestamp value previously serialized by putTimestamp() from the buffer.
getTransactionTimeout() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the transaction timeout used when determining database availability.
getTxId() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
getTxId() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Get the sender's ID for the transaction.
getTxId() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Get the locally unique ID of this transaction.
getUnappliedLog() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the unapplied LogEntrys in this instance's Raft log.
getUnappliedLogMemoryUsage() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Get the estimated total memory used by unapplied log entries.
getUnavailableMergeStrategy() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the merge strategy to apply when transitioning from this database to a lower priority database because our RaftKVDatabase cluster has become unavailable.
getUsageText() - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
getVotedFor() - Method in class org.jsimpledb.kv.raft.FollowerRole
Get the identity of the node that this node voted for this term, if any.
getVotesReceived() - Method in class org.jsimpledb.kv.raft.CandidateRole
Get the number of votes received so far.
getVotesRequired() - Method in class org.jsimpledb.kv.raft.CandidateRole
Get the number of votes required to win the election.
getWrites(ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Deserialize a Writes previously serialized by putWrites() from the buffer.
GrantVote - Class in org.jsimpledb.kv.raft.msg
Sent from a follower to a candidate to grant a vote during an election.
GrantVote(int, String, String, long) - Constructor for class org.jsimpledb.kv.raft.msg.GrantVote
Constructor.

H

hashCode() - Method in class org.jsimpledb.kv.raft.Timestamp
 
hasOccurred() - Method in class org.jsimpledb.kv.raft.Timestamp
Determine whether this timestamp is in the past or the future.

I

InstallSnapshot - Class in org.jsimpledb.kv.raft.msg
Sent from leader to follower to with a chunk of key/value pairs that will wholesale replace the follower's key/value store.
InstallSnapshot(int, String, String, long, long, long, long, Map<String, String>, boolean, ByteBuffer) - Constructor for class org.jsimpledb.kv.raft.msg.InstallSnapshot
Constructor.
isAvailable() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Get the current availability of this target.
isBasedOnCommittedLogEntry() - Method in enum org.jsimpledb.kv.raft.Consistency
Determines the log entry on which transactions at this level are based.
isClusterMember() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Determine whether this node thinks that it is part of its cluster, as determined by its current configuration.
isClusterMember(String) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Determine whether this node thinks that the specified node is part of the cluster, as determined by its current configuration.
isConfigured() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Determine whether this instance is configured.
isFollowerProbingEnabled() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Determine whether follower probing prior to becoming a candidate is enabled.
isGuaranteesUpToDateReads() - Method in enum org.jsimpledb.kv.raft.Consistency
Determines whether transactions at this level guarantee reading the most up-to-date information.
isInstallingSnapshot() - Method in class org.jsimpledb.kv.raft.FollowerRole
Determine whether this node is currently in the process of receiving a whole database snapshot download.
isLastChunk() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
isLeaderMessage() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
isLeaderMessage() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
 
isLeaderMessage() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
isLeaderMessage() - Method in class org.jsimpledb.kv.raft.msg.Message
Determine whether this message is only sent by leaders.
isMigrationAllowed(int, int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Subclass hook to veto an impending migration.
isProbe() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
isReadOnly() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
Determine whether this is a read-only transaction.
isReadOnly() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Determine whether this transaction is configured as read-only.
isReceivingSnapshot() - Method in class org.jsimpledb.kv.raft.Follower
Determine whether this follower is currently being sent a whole database snapshot download.
isRolloverDanger() - Method in class org.jsimpledb.kv.raft.Timestamp
Determine whether this timestamp is so far in the past that it is in danger of rolling over to the future as time continues to move forward.
isSuccess() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
Determine whether the request was successful, i.e., the previous log entry term and index matched.
isSuccess() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
Determine whether the request was successful.
isSynced() - Method in class org.jsimpledb.kv.raft.Follower
Determine whether we believe this follower is "synchronized".
isWaitsForLogEntryToBeCommitted() - Method in enum org.jsimpledb.kv.raft.Consistency
Determines whether transactions at this level block in commit() until the log entry on which they are based is committed.

L

LeaderRole - Class in org.jsimpledb.kv.raft
Raft leader role.
log - Variable in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
log - Variable in class org.jsimpledb.kv.raft.fallback.FallbackTarget
 
LogEntry - Class in org.jsimpledb.kv.raft
Represents one unapplied Raft log entry.

M

mergeAndCommit(KVTransaction, KVTransaction, Date) - Method in interface org.jsimpledb.kv.raft.fallback.MergeStrategy
Merge data from the source database being migrated away from into the destination database being migrated to.
mergeAndCommit(KVTransaction, KVTransaction, Date) - Method in class org.jsimpledb.kv.raft.fallback.NullMergeStrategy
 
mergeAndCommit(KVTransaction, KVTransaction, Date) - Method in class org.jsimpledb.kv.raft.fallback.OverwriteMergeStrategy
 
MergeStrategy - Interface in org.jsimpledb.kv.raft.fallback
Merge strategy used by a FallbackKVDatabase when migrating from one underlying database to another.
Message - Class in org.jsimpledb.kv.raft.msg
Support superclass for Raft messages.
Message(byte, int, String, String, long) - Constructor for class org.jsimpledb.kv.raft.msg.Message
 
Message(byte, ByteBuffer) - Constructor for class org.jsimpledb.kv.raft.msg.Message
 
MessageSwitch - Interface in org.jsimpledb.kv.raft.msg
Visitor pattern interface for Messages.
migrationCompleted(int, int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Subclass hook to be notified when a migration occurs.
mutableSnapshot() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
mutableSnapshot() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction

N

NonLeaderRole - Class in org.jsimpledb.kv.raft
Support superclass for the follower and candidate roles, both of which have an election timer.
NULL_FIRST_SORT - Static variable in class org.jsimpledb.kv.raft.Timestamp
Sorts possibly null Timestamps in chronological order, with null sorting first.
NullMergeStrategy - Class in org.jsimpledb.kv.raft.fallback
MergeStrategy that does nothing, i.e., it leaves the destination database unmodified.
NullMergeStrategy() - Constructor for class org.jsimpledb.kv.raft.fallback.NullMergeStrategy
 

O

offset(int) - Method in class org.jsimpledb.kv.raft.Timestamp
Return this timestamp offset by the given amount.
offsetFrom(Timestamp) - Method in class org.jsimpledb.kv.raft.Timestamp
Get the number of milliseconds this instance is offset from the given instance.
offsetFromNow() - Method in class org.jsimpledb.kv.raft.Timestamp
Get the number of milliseconds this instance is offset from the current time.
OPTION_CONSISTENCY - Static variable in class org.jsimpledb.kv.raft.RaftKVDatabase
org.jsimpledb.kv.raft - package org.jsimpledb.kv.raft
A distributed KVDatabase based on the Raft consensus algorithm.
org.jsimpledb.kv.raft.cmd - package org.jsimpledb.kv.raft.cmd
Raft-related CLI Commands.
org.jsimpledb.kv.raft.fallback - package org.jsimpledb.kv.raft.fallback
A partition-tolerant KVDatabase that automatically migrates between a clustered RaftKVDatabase and a private non-clustered "standalone mode" KVDatabase, based on availability of the Raft cluster.
org.jsimpledb.kv.raft.msg - package org.jsimpledb.kv.raft.msg
Raft inter-node messages.
overwrite(KVTransaction, KVTransaction) - Method in class org.jsimpledb.kv.raft.fallback.OverwriteMergeStrategy
Overwrite one key/value database with another.
OverwriteMergeStrategy - Class in org.jsimpledb.kv.raft.fallback
MergeStrategy that completely overwrites the destination database with the content of the source database.
OverwriteMergeStrategy() - Constructor for class org.jsimpledb.kv.raft.fallback.OverwriteMergeStrategy
 

P

parseCommandLineOptions(ArrayDeque<String>) - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
PingRequest - Class in org.jsimpledb.kv.raft.msg
Sent from hermits to other nodes when trying to establish communication with a majority.
PingRequest(int, String, String, long, Timestamp) - Constructor for class org.jsimpledb.kv.raft.msg.PingRequest
Constructor.
PingResponse - Class in org.jsimpledb.kv.raft.msg
Response to a PingRequest.
PingResponse(int, String, String, long, Timestamp) - Constructor for class org.jsimpledb.kv.raft.msg.PingResponse
Constructor.
printStatus(PrintWriter, FallbackKVDatabase) - Static method in class org.jsimpledb.kv.raft.cmd.RaftFallbackStatusCommand
Print the fallback status status to the given destination.
printStatus(PrintWriter, RaftKVDatabase) - Static method in class org.jsimpledb.kv.raft.cmd.RaftStatusCommand
Print the local Raft node's status to the given destination.
put(byte[], byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
putBoolean(ByteBuffer, boolean) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a boolean value into the buffer.
putByteBuffer(ByteBuffer, ByteBuffer) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a ByteBuffer into the buffer.
putReads(ByteBuffer, Reads) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a Reads into the buffer.
putString(ByteBuffer, String) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a String into the buffer.
putTimestamp(ByteBuffer, Timestamp) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a Timestamp value into the buffer.
putWrites(ByteBuffer, Writes) - Static method in class org.jsimpledb.kv.raft.msg.Message
Serialize a Writes into the buffer.

R

RaftAddCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftAddCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftAddCommand
 
RaftFallbackForceStandaloneCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftFallbackForceStandaloneCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftFallbackForceStandaloneCommand
 
RaftFallbackStatusCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftFallbackStatusCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftFallbackStatusCommand
 
RaftKVDatabase - Class in org.jsimpledb.kv.raft
A distributed KVDatabase based on the Raft consensus algorithm.
RaftKVDatabase() - Constructor for class org.jsimpledb.kv.raft.RaftKVDatabase
 
RaftKVImplementation - Class in org.jsimpledb.kv.raft
 
RaftKVImplementation() - Constructor for class org.jsimpledb.kv.raft.RaftKVImplementation
 
RaftKVTransaction - Class in org.jsimpledb.kv.raft
RaftKVDatabase transaction.
RaftRemoveCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftRemoveCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftRemoveCommand
 
RaftStartElectionCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftStartElectionCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftStartElectionCommand
 
RaftStatusCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftStatusCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftStatusCommand
 
RaftStepDownCommand - Class in org.jsimpledb.kv.raft.cmd
 
RaftStepDownCommand() - Constructor for class org.jsimpledb.kv.raft.cmd.RaftStepDownCommand
 
remove(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
removeRange(byte[], byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
RequestVote - Class in org.jsimpledb.kv.raft.msg
Send from candidates to other nodes to request a vote during an election.
RequestVote(int, String, String, long, long, long) - Constructor for class org.jsimpledb.kv.raft.msg.RequestVote
Constructor.
requiresAtomicKVStore(Object) - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
requiresKVDatabase(Object) - Method in class org.jsimpledb.kv.raft.RaftKVImplementation
 
Role - Class in org.jsimpledb.kv.raft
Common superclass for the three roles played by a Raft node: leader, follower, and candidate.
rollback() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
rollback() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
run(CliSession) - Method in class org.jsimpledb.kv.raft.cmd.AbstractRaftCommand.RaftAction
 
run(CliSession, RaftKVDatabase) - Method in class org.jsimpledb.kv.raft.cmd.AbstractRaftCommand.RaftAction
 
run(CliSession, RaftKVDatabase) - Method in class org.jsimpledb.kv.raft.cmd.AbstractTransactionRaftCommand.RaftTransactionAction
 
run(CliSession, RaftKVTransaction) - Method in class org.jsimpledb.kv.raft.cmd.AbstractTransactionRaftCommand.RaftTransactionAction
 

S

setCheckInterval(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the interval between availability checks.
setCommitTimeout(int) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the default transaction commit timeout.
setConsistency(Consistency) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Set the consistency level for this transaction.
setFallbackTarget(FallbackTarget) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure a single FallbackTarget.
setFallbackTargets(List<? extends FallbackTarget>) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure multiple FallbackTarget(s).
setFollowerProbingEnabled(boolean) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure whether followers should be required to probe for network connectivity with a majority of the cluster after an election timeout prior to becoming a candidate.
setHeartbeatTimeout(int) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the heartbeat timeout.
setIdentity(String) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the Raft identity.
setInitialTargetIndex(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure the index of the currently active database when starting up for the very first time.
setKVStore(AtomicKVStore) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the AtomicKVStore in which local persistent state is stored.
setLogDirectory(File) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the directory in which uncommitted log entries are stored.
setMaxElectionTimeout(int) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the maximum election timeout.
setMaximumTargetIndex(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure the maximum allowed target index.
setMaxTransactionDuration(int) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the maximum supported duration for outstanding transactions.
setMaxUnappliedLogMemory(long) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the maximum allowed memory used for unapplied log entries.
setMinAvailableTime(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the minimum amount of time after becoming available before allowing this instance to become unavailable again.
setMinElectionTimeout(int) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the minimum election timeout.
setMinUnavailableTime(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the minimum amount of time after becoming unavailable before allowing this instance to become available again.
setNetwork(Network) - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
Configure the Network to use for inter-node communication.
setRaftKVDatabase(RaftKVDatabase) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
setReadOnly(boolean) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Set whether this transaction should be read-only.
setRejoinMergeStrategy(MergeStrategy) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the merge strategy to apply when transitioning from a lower priority database to this database because our RaftKVDatabase cluster has become available again.
setStandaloneTarget(KVDatabase) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure the local "standalone mode" KVDatabase to be used when all FallbackTargets are unavailable.
setStateFile(File) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
Configure this instance's persistent state file.
setTimeout(long) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
setTimeout(long) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
Set the commit timeout for this instance.
setTransactionTimeout(int) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the transaction timeout used when determining database availability.
setUnavailableMergeStrategy(MergeStrategy) - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
Configure the merge strategy to apply when transitioning from this database to a lower priority database because our RaftKVDatabase cluster has become unavailable.
SORT_BY_IDENTITY - Static variable in class org.jsimpledb.kv.raft.Follower
Sorts instances by their identities.
SORT_BY_INDEX - Static variable in class org.jsimpledb.kv.raft.LogEntry
Sorts instances by log index.
start() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
start() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
 
startElection() - Method in class org.jsimpledb.kv.raft.NonLeaderRole
Force an immediate election timeout.
stepDown() - Method in class org.jsimpledb.kv.raft.LeaderRole
Force this leader to step down.
stop() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
stop() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
 

T

Timestamp - Class in org.jsimpledb.kv.raft
Represents a relative timestamp in milliseconds.
Timestamp() - Constructor for class org.jsimpledb.kv.raft.Timestamp
Construtor returning the current time.
Timestamp(int) - Constructor for class org.jsimpledb.kv.raft.Timestamp
Constructor.
toString() - Method in class org.jsimpledb.kv.raft.CandidateRole
 
toString() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
 
toString() - Method in class org.jsimpledb.kv.raft.fallback.FallbackTarget
 
toString() - Method in class org.jsimpledb.kv.raft.fallback.NullMergeStrategy
 
toString() - Method in class org.jsimpledb.kv.raft.fallback.OverwriteMergeStrategy
 
toString() - Method in class org.jsimpledb.kv.raft.Follower
 
toString() - Method in class org.jsimpledb.kv.raft.FollowerRole
 
toString() - Method in class org.jsimpledb.kv.raft.LeaderRole
 
toString() - Method in class org.jsimpledb.kv.raft.LogEntry
 
toString() - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
toString() - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
 
toString() - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
toString() - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
 
toString() - Method in class org.jsimpledb.kv.raft.msg.GrantVote
 
toString() - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
toString() - Method in class org.jsimpledb.kv.raft.msg.Message
 
toString() - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 
toString() - Method in class org.jsimpledb.kv.raft.RaftKVDatabase
 
toString() - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
 
toString() - Method in class org.jsimpledb.kv.raft.Role
 
toString() - Method in class org.jsimpledb.kv.raft.Timestamp
 
TxState - Enum in org.jsimpledb.kv.raft

V

valueOf(String) - Static method in enum org.jsimpledb.kv.raft.Consistency
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jsimpledb.kv.raft.TxState
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jsimpledb.kv.raft.Consistency
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jsimpledb.kv.raft.TxState
Returns an array containing the constants of this enum type, in the order they are declared.
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.GrantVote
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.Message
Apply the visitor pattern based on this instance's type.
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.PingRequest
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.PingResponse
 
visit(MessageSwitch) - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 

W

watchKey(byte[]) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVTransaction
 
watchKey(byte[]) - Method in class org.jsimpledb.kv.raft.RaftKVTransaction
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.AppendRequest
 
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.AppendResponse
 
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.CommitRequest
 
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.CommitResponse
 
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.InstallSnapshot
 
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.Message
Serialize this instance into the given buffer.
writeTo(ByteBuffer) - Method in class org.jsimpledb.kv.raft.msg.RequestVote
 
A C D E F G H I L M N O P R S T V W 

Copyright © 2016. All rights reserved.