- checkoutCommand
Retrieves a command object from the command pool. Blocks until there are
commands in the pool.
- getCommittedCommand
Returns the command at the specified index. This method blocks until index has
been committed. An em
- getShardId
Returns the shard as provided in the constructor. See Shard().
- <init>
- checkinCommand
Returns the command back into the command pool.
- forceLeader
Forces the local member of this shard to become the leader. Blocks until this
member becomes the lea
- getCommitIndex
Returns commitIndex.
- getLastSavedIndex
Returns the last saved index for this shard. Waits until the storage is settled
if necessary.
- getLeader
Returns the current leader.
- getLocalMember
Returns the local member of this shard. The local member is the member assigned
to this host. The re
- getLocalRole
- getMember
Returns the member with the specified id.