- 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
-
- 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
-
- getFallbackTargets() - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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.
- 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
-
- setFallbackTargets(List<? extends FallbackTarget>) - Method in class org.jsimpledb.kv.raft.fallback.FallbackKVDatabase
-
- 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
-
- 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
-
- SORT_BY_INDEX - Static variable in class org.jsimpledb.kv.raft.LogEntry
-
- 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
-