Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

acquire() - Method in interface io.atomix.copycat.server.Commit
Acquires a reference to the commit.
addListener(SessionListener) - Method in interface io.atomix.copycat.server.session.Sessions
Adds a listener to the sessions.
address() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member server address.
append(Entry) - Method in class io.atomix.copycat.server.storage.Log
Appends an entry to the log.
append(Entry) - Method in class io.atomix.copycat.server.storage.Segment
Commits an entry to the segment.

B

block() - Method in interface io.atomix.copycat.server.StateMachineExecutor
 
bootstrap(Address...) - Method in interface io.atomix.copycat.server.cluster.Cluster
Bootstraps the cluster.
bootstrap(Collection<Address>) - Method in interface io.atomix.copycat.server.cluster.Cluster
Bootstraps the cluster.
bootstrap() - Method in class io.atomix.copycat.server.CopycatServer
Bootstraps a single-node cluster.
bootstrap(Address...) - Method in class io.atomix.copycat.server.CopycatServer
Bootstraps the cluster using the provided cluster configuration.
bootstrap(Collection<Address>) - Method in class io.atomix.copycat.server.CopycatServer
Bootstraps the cluster using the provided cluster configuration.
build() - Method in class io.atomix.copycat.server.CopycatServer.Builder
 
build() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Builds the segment descriptor.
build() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor.Builder
Builds the segment descriptor.
build() - Method in class io.atomix.copycat.server.storage.Storage.Builder
Builds the Storage object.
builder() - Static method in class io.atomix.copycat.server.CopycatServer
Returns a new Copycat server builder using the default host:port.
builder(Address) - Static method in class io.atomix.copycat.server.CopycatServer
Returns a new Copycat server builder.
builder(Address, Address) - Static method in class io.atomix.copycat.server.CopycatServer
Returns a new Copycat server builder.
builder() - Static method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns a descriptor builder.
builder(Buffer) - Static method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns a descriptor builder for the given descriptor buffer.
builder() - Static method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Returns a descriptor builder.
builder(Buffer) - Static method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Returns a descriptor builder for the given descriptor buffer.
builder() - Static method in class io.atomix.copycat.server.storage.Storage
Returns a new storage builder.
buildTasks(Storage, SegmentManager) - Method in interface io.atomix.copycat.server.storage.compaction.CompactionManager
Builds compaction tasks for the given segments.
buildTasks(Storage, SegmentManager) - Method in class io.atomix.copycat.server.storage.compaction.MajorCompactionManager
 
buildTasks(Storage, SegmentManager) - Method in class io.atomix.copycat.server.storage.compaction.MinorCompactionManager
 
BYTES - Static variable in class io.atomix.copycat.server.storage.SegmentDescriptor
 
BYTES - Static variable in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
 

C

cleanFiles(Predicate<File>) - Method in class io.atomix.copycat.server.storage.StorageCleaner
Cleans up files.
clientAddress() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member client address.
clock() - Method in interface io.atomix.copycat.server.StateMachineContext
Returns the state machine clock.
close() - Method in interface io.atomix.copycat.server.Commit
Closes the commit, releasing all references.
close(ServerSession) - Method in interface io.atomix.copycat.server.session.SessionListener
Called when a session was closed.
close() - Method in class io.atomix.copycat.server.StateMachine
Closes the state machine.
close() - Method in interface io.atomix.copycat.server.StateMachineExecutor
 
close() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Closes the log compactor.
close() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
close() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Closes the index.
close() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
close() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
close() - Method in class io.atomix.copycat.server.storage.Log
Closes the log.
close() - Method in class io.atomix.copycat.server.storage.Segment
 
close() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
 
close() - Method in class io.atomix.copycat.server.storage.SegmentManager
 
close() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Closes the snapshot.
close() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
 
close() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
close() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
 
close() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
close() - Method in class io.atomix.copycat.server.storage.system.MetaStore
 
Cluster - Interface in io.atomix.copycat.server.cluster
Copycat server cluster API.
cluster() - Method in class io.atomix.copycat.server.CopycatServer
Returns the server's cluster configuration.
command() - Method in interface io.atomix.copycat.server.Commit
Returns the command submitted by the client.
Commit<T extends io.atomix.copycat.Operation> - Interface in io.atomix.copycat.server
Represents the committed state and metadata of a Raft state machine operation.
commit(long) - Method in class io.atomix.copycat.server.storage.Log
Commits entries up to the given index to the log.
commitIndex() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the log compact index.
compact() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Compacts the log using the default Compaction.MINOR compaction strategy.
compact(Compaction) - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Compacts the log using the given Compaction.
compactIndex() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Returns a the index up to which the log can be compacted.
Compaction - Enum in io.atomix.copycat.server.storage.compaction
Log compaction type identifier.
Compaction.Mode - Enum in io.atomix.copycat.server.storage.compaction
Constants for specifying entry compaction modes.
CompactionManager - Interface in io.atomix.copycat.server.storage.compaction
Manages a single compaction process.
CompactionTask - Interface in io.atomix.copycat.server.storage.compaction
Performs compaction on a set of log Segments.
compactionThreads() - Method in class io.atomix.copycat.server.storage.Storage
Returns the number of log compaction threads.
compactionThreshold() - Method in class io.atomix.copycat.server.storage.Storage
Returns the compaction threshold.
Compactor - Class in io.atomix.copycat.server.storage.compaction
Manages compaction of log Segments in a pool of background threads.
Compactor(Storage, SegmentManager, ScheduledExecutorService) - Constructor for class io.atomix.copycat.server.storage.compaction.Compactor
 
compactor() - Method in class io.atomix.copycat.server.storage.Log
Returns the log compactor.
complete() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Completes writing the snapshot to persist it and make it available for reads.
Configuration - Class in io.atomix.copycat.server.storage.system
Represents a persisted server configuration.
Configuration(long, long, long, Collection<Member>) - Constructor for class io.atomix.copycat.server.storage.system.Configuration
 
contains(long) - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
contains(long) - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Returns a boolean value indicating whether the index contains the given offset.
contains(long) - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
contains(long) - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
contains(long) - Method in class io.atomix.copycat.server.storage.Log
Returns a boolean value indicating whether the log contains a live entry at the given index.
contains(long) - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the entry at the given index is active.
context() - Method in class io.atomix.copycat.server.CopycatServer
Returns the server execution context.
context() - Method in interface io.atomix.copycat.server.StateMachineExecutor
Returns the state machine context.
CopycatServer - Class in io.atomix.copycat.server
Provides a standalone implementation of the Raft consensus algorithm.
CopycatServer.Builder - Class in io.atomix.copycat.server
Builds a single-use Copycat server.
CopycatServer.State - Enum in io.atomix.copycat.server
Copycat server state types.
count() - Method in class io.atomix.copycat.server.storage.Segment
Returns the count of all entries in the segment.
create(Class<T>) - Method in class io.atomix.copycat.server.storage.Log
Creates a new log entry.
createSegment(SegmentDescriptor) - Method in class io.atomix.copycat.server.storage.SegmentManager
Creates a new segment.
createSnapshot(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
Creates a new snapshot.
currentSegment() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the current segment.
currentSnapshot() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
Returns the most recent completed snapshot.

D

DelegatingOffsetIndex - Class in io.atomix.copycat.server.storage.index
Offset index that delegates to other indexes.
DelegatingOffsetIndex(Buffer) - Constructor for class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
delete() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
delete() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Deletes the index.
delete() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
delete() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
delete() - Method in class io.atomix.copycat.server.storage.Segment
Deletes the segment.
delete() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Deletes the descriptor.
delete() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Deletes the snapshot.
delete() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Deletes the descriptor.
deleteLog(String) - Method in class io.atomix.copycat.server.storage.Storage
Deletes a Log from disk.
deleteMetaStore(String) - Method in class io.atomix.copycat.server.storage.Storage
Deletes a MetaStore from disk.
deleteSnapshotStore(String) - Method in class io.atomix.copycat.server.storage.Storage
Deletes a SnapshotStore from disk.
demote() - Method in interface io.atomix.copycat.server.cluster.Member
Demotes the member to the next lowest type.
demote(Member.Type) - Method in interface io.atomix.copycat.server.cluster.Member
Demotes the member to the given type.
descriptor() - Method in class io.atomix.copycat.server.storage.Segment
Returns the SegmentDescriptor for the segment.
DescriptorException - Exception in io.atomix.copycat.server.storage
Segment descriptor exception.
DescriptorException(String, Object...) - Constructor for exception io.atomix.copycat.server.storage.DescriptorException
 
DescriptorException(Throwable, String, Object...) - Constructor for exception io.atomix.copycat.server.storage.DescriptorException
 
DescriptorException(Throwable) - Constructor for exception io.atomix.copycat.server.storage.DescriptorException
 
directory() - Method in class io.atomix.copycat.server.storage.Storage
Returns the storage directory.

E

entryBufferSize() - Method in class io.atomix.copycat.server.storage.Storage
Returns the entry buffer size.
expire(ServerSession) - Method in interface io.atomix.copycat.server.session.SessionListener
Called when a session is expired by the system.

F

file() - Method in class io.atomix.copycat.server.storage.Segment
Returns the segment file.
file() - Method in class io.atomix.copycat.server.storage.SegmentFile
Returns the segment file.
file() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotFile
Returns the snapshot file.
find(long) - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
find(long) - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Finds the real offset for the given relative offset.
find(long) - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
find(long) - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
firstIndex() - Method in class io.atomix.copycat.server.storage.Log
Returns the log's current first index.
firstIndex() - Method in class io.atomix.copycat.server.storage.Segment
Returns the index of the first entry in the segment.
firstSegment() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the first segment in the log.
flush() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
flush() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Flushes the index to the underlying storage.
flush() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
flush() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
flush() - Method in class io.atomix.copycat.server.storage.Log
Flushes the log to disk.
flush() - Method in class io.atomix.copycat.server.storage.Segment
Flushes the segment buffers to disk.
flush() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
flushOnCommit() - Method in class io.atomix.copycat.server.storage.Storage
Returns whether to flush buffers to disk when entries are committed.

G

get(long) - Method in class io.atomix.copycat.server.storage.Log
Gets an entry from the log at the given index.
get(long) - Method in class io.atomix.copycat.server.storage.Segment
Reads the entry at the given index.
getCompactableGroups(Storage, SegmentManager) - Method in class io.atomix.copycat.server.storage.compaction.MajorCompactionManager
Returns a list of segments lists to compact, where segments are grouped according to how they will be merged during compaction.
getDefaultCompactionMode() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Returns the default compaction mode.

H

hasRemaining() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 

I

id() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member ID.
id() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns the segment identifier.
id() - Method in class io.atomix.copycat.server.storage.SegmentFile
Returns the segment identifier.
index() - Method in interface io.atomix.copycat.server.Commit
Returns the commit index.
index() - Method in interface io.atomix.copycat.server.StateMachineContext
Returns the current state machine index.
index(long, long) - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
index(long, long) - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Indexes the given offset with the given position.
index(long, long) - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
index(long, long) - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
index() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns the segment index.
index() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Returns the snapshot index.
index() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Returns the snapshot index.
index() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotFile
Returns the snapshot index.
index() - Method in class io.atomix.copycat.server.storage.system.Configuration
Returns the configuration index.
init(StateMachineExecutor) - Method in class io.atomix.copycat.server.StateMachine
Initializes the state machine.
install(SnapshotReader) - Method in interface io.atomix.copycat.server.Snapshottable
Installs a snapshot of the state machine state.
io.atomix.copycat.server - package io.atomix.copycat.server
Standalone, feature-complete implementation of the Raft consensus algorithm.
io.atomix.copycat.server.cluster - package io.atomix.copycat.server.cluster
Interfaces for managing and interacting with the Copycat cluster.
io.atomix.copycat.server.session - package io.atomix.copycat.server.session
Interfaces for managing client sessions on a Copycat server.
io.atomix.copycat.server.storage - package io.atomix.copycat.server.storage
Standalone segmented log for Copycat's Raft implementation.
io.atomix.copycat.server.storage.compaction - package io.atomix.copycat.server.storage.compaction
Classes and interfaces that facilitate compaction of the Copycat log.
io.atomix.copycat.server.storage.index - package io.atomix.copycat.server.storage.index
 
io.atomix.copycat.server.storage.snapshot - package io.atomix.copycat.server.storage.snapshot
Classes and interfaces that aid in storing, loading, and installing on-disk state machine snapshots.
io.atomix.copycat.server.storage.system - package io.atomix.copycat.server.storage.system
Classes and interfaces that aid in storing and loading persistent cluster and server configurations.
isBlocked() - Method in interface io.atomix.copycat.server.StateMachineExecutor
 
isClosed() - Method in class io.atomix.copycat.server.storage.Log
Returns a boolean value indicating whether the log is closed.
isCompacted() - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the segment has been compacted.
isEmpty() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
isEmpty() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Returns a boolean value indicating whether the index is empty.
isEmpty() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
isEmpty() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
isEmpty() - Method in class io.atomix.copycat.server.storage.Log
Returns a boolean value indicating whether the log is empty.
isEmpty() - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the segment is empty.
isFull() - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the segment is full.
isLive(long) - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the given index was released from the segment.
isOpen() - Method in class io.atomix.copycat.server.storage.Log
Returns a boolean value indicating whether the log is open.
isOpen() - Method in class io.atomix.copycat.server.storage.Segment
Returns a boolean value indicating whether the segment is open.
isRunning() - Method in class io.atomix.copycat.server.CopycatServer
Returns a boolean indicating whether the server is running.
isSegmentFile(String, File) - Static method in class io.atomix.copycat.server.storage.SegmentFile
Returns a boolean value indicating whether the given file appears to be a parsable segment file.
isSnapshotFile(String, File) - Static method in class io.atomix.copycat.server.storage.snapshot.SnapshotFile
Returns a boolean value indicating whether the given file appears to be a parsable snapshot file.

J

join(Address...) - Method in interface io.atomix.copycat.server.cluster.Cluster
Joins the cluster.
join(Collection<Address>) - Method in interface io.atomix.copycat.server.cluster.Cluster
Joins the cluster.
join(Address...) - Method in class io.atomix.copycat.server.CopycatServer
Joins the cluster.
join(Collection<Address>) - Method in class io.atomix.copycat.server.CopycatServer
Joins the cluster.

L

lastIndex() - Method in class io.atomix.copycat.server.storage.Log
Returns the index of the last entry in the log.
lastIndex() - Method in class io.atomix.copycat.server.storage.Segment
Returns the index of the last entry in the segment.
lastOffset() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
lastOffset() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Returns the last offset in the index.
lastOffset() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
lastOffset() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
lastSegment() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the last segment in the log.
leader() - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns the current cluster leader.
leave() - Method in interface io.atomix.copycat.server.cluster.Cluster
Leaves the cluster.
leave() - Method in class io.atomix.copycat.server.CopycatServer
Leaves the Copycat cluster.
length() - Method in class io.atomix.copycat.server.storage.Log
Returns the number of entries in the log.
length() - Method in class io.atomix.copycat.server.storage.Segment
Returns the current range of the segment.
level() - Method in class io.atomix.copycat.server.storage.Storage
Returns the storage level.
loadConfiguration() - Method in class io.atomix.copycat.server.storage.system.MetaStore
Loads the current cluster configuration.
loadSegment(long, long) - Method in class io.atomix.copycat.server.storage.SegmentManager
Loads a segment.
loadTerm() - Method in class io.atomix.copycat.server.storage.system.MetaStore
Loads the stored server term.
loadVote() - Method in class io.atomix.copycat.server.storage.system.MetaStore
Loads the last vote for the server.
lock() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Locks the segment.
lock() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Locks the segment.
locked() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns whether the segment has been locked by commitment.
locked() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Returns whether the snapshot has been locked by commitment.
Log - Class in io.atomix.copycat.server.storage
Stores Raft log entries in a segmented log in memory or on disk.

M

majorCompactionInterval() - Method in class io.atomix.copycat.server.storage.Storage
Returns the major compaction interval.
MajorCompactionManager - Class in io.atomix.copycat.server.storage.compaction
Builds tasks for the Compaction.MAJOR compaction process.
MajorCompactionTask - Class in io.atomix.copycat.server.storage.compaction
Removes tombstones from the log and combines Segments to reclaim disk space.
majorIndex(long) - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Sets the maximum compaction index for major compaction.
majorIndex() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Returns the maximum compaction index for major compaction.
maxEntries() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns the maximum number of entries allowed in the segment.
maxEntriesPerSegment() - Method in class io.atomix.copycat.server.storage.Storage
Returns the maximum number of entries per segment.
maxSegmentSize() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns the maximum count of the segment.
maxSegmentSize() - Method in class io.atomix.copycat.server.storage.Storage
Returns the maximum log segment size.
member() - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns the local cluster member.
member(int) - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns a member by ID.
member(Address) - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns a member by address.
Member - Interface in io.atomix.copycat.server.cluster
Represents a member of a Copycat cluster.
Member.Status - Enum in io.atomix.copycat.server.cluster
Indicates the availability of a member from the perspective of the cluster leader.
Member.Type - Enum in io.atomix.copycat.server.cluster
Indicates how the member participates in voting and replication.
members() - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns a collection of all cluster members.
members() - Method in class io.atomix.copycat.server.storage.system.Configuration
Returns the cluster membership for this configuration.
MetaStore - Class in io.atomix.copycat.server.storage.system
Manages persistence of server configurations.
MetaStore(String, Storage, Serializer) - Constructor for class io.atomix.copycat.server.storage.system.MetaStore
 
minorCompactionInterval() - Method in class io.atomix.copycat.server.storage.Storage
Returns the minor compaction interval.
MinorCompactionManager - Class in io.atomix.copycat.server.storage.compaction
Builds tasks for the Compaction.MINOR compaction process.
MinorCompactionTask - Class in io.atomix.copycat.server.storage.compaction
Removes released entries from an individual log Segment to reclaim disk space.
minorIndex(long) - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Sets the maximum compaction index for minor compaction.
minorIndex() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Returns the maximum compaction index for minor compaction.

N

name() - Method in class io.atomix.copycat.server.CopycatServer
Returns the server name.
nextIndex() - Method in class io.atomix.copycat.server.storage.Log
Returns the next index in the log.
nextIndex() - Method in class io.atomix.copycat.server.storage.Segment
Returns the next index in the segment.
nextSegment() - Method in class io.atomix.copycat.server.storage.SegmentManager
Creates and returns the next segment.

O

offset(long) - Method in class io.atomix.copycat.server.storage.Segment
Returns the offset of the given index within the segment.
OffsetIndex - Interface in io.atomix.copycat.server.storage.index
Segment offset index.
offsetPredicate() - Method in class io.atomix.copycat.server.storage.Segment
Returns a predicate for live offsets in the segment.
onJoin(Consumer<Member>) - Method in interface io.atomix.copycat.server.cluster.Cluster
Registers a callback to be called when a member joins the cluster.
onLeaderElection(Consumer<Member>) - Method in interface io.atomix.copycat.server.cluster.Cluster
Registers a callback to be called when a leader is elected.
onLeave(Consumer<Member>) - Method in interface io.atomix.copycat.server.cluster.Cluster
Registers a callback to be called when a member leaves the cluster.
onStateChange(Consumer<CopycatServer.State>) - Method in class io.atomix.copycat.server.CopycatServer
Registers a state change listener.
onStatusChange(Consumer<Member.Status>) - Method in interface io.atomix.copycat.server.cluster.Member
Registers a callback to be called when the member's status changes.
onTypeChange(Consumer<Member.Type>) - Method in interface io.atomix.copycat.server.cluster.Member
Registers a callback to be called when the member's type changes.
openLog(String) - Method in class io.atomix.copycat.server.storage.Storage
Opens a new Log, recovering the log from disk if it exists.
openMetaStore(String) - Method in class io.atomix.copycat.server.storage.Storage
Opens a new MetaStore, recovering metadata from disk if it exists.
openSnapshotStore(String) - Method in class io.atomix.copycat.server.storage.Storage
Opens a new SnapshotStore, recovering snapshots from disk if they exist.
operation() - Method in interface io.atomix.copycat.server.Commit
Returns the operation submitted by the client.

P

position(long) - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
position(long) - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Finds the starting position of the given offset.
position(long) - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
position(long) - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
promote() - Method in interface io.atomix.copycat.server.cluster.Member
Promotes the member to the next highest type.
promote(Member.Type) - Method in interface io.atomix.copycat.server.cluster.Member
Promotes the member to the given type.
publish(String) - Method in interface io.atomix.copycat.server.session.ServerSession
Publishes a null named event to the session.
publish(String, Object) - Method in interface io.atomix.copycat.server.session.ServerSession
Publishes an event to the session.

Q

query() - Method in interface io.atomix.copycat.server.Commit
Returns the query submitted by the client.

R

read(Bytes) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
read(byte[]) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
read(Bytes, long, long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
read(byte[], long, long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
read(Buffer) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readBoolean() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readByte() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readChar() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readDouble() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
reader() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Returns a new snapshot reader.
readFloat() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readInt() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readLong() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readMedium() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readObject() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
Reads an object from the buffer.
readShort() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readString() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readUnsignedByte() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readUnsignedInt() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readUnsignedMedium() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readUnsignedShort() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
readUTF8() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
references() - Method in interface io.atomix.copycat.server.Commit
Returns the number of open references to the commit.
register(ServerSession) - Method in interface io.atomix.copycat.server.session.SessionListener
Called when a new session is registered.
register(Class<T>, Consumer<Commit<T>>) - Method in interface io.atomix.copycat.server.StateMachineExecutor
Registers a void operation callback.
register(Class<T>, Function<Commit<T>, U>) - Method in interface io.atomix.copycat.server.StateMachineExecutor
Registers an operation callback.
release() - Method in interface io.atomix.copycat.server.Commit
Releases a reference to the commit.
release(long) - Method in class io.atomix.copycat.server.storage.Log
Releases the entry at the given index.
release(long) - Method in class io.atomix.copycat.server.storage.Segment
Releases an entry from the segment.
releaseCount() - Method in class io.atomix.copycat.server.storage.Segment
Returns the number of entries in the segment that have been released.
remaining() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
remove() - Method in interface io.atomix.copycat.server.cluster.Member
Removes the member from the configuration.
removeListener(SessionListener) - Method in interface io.atomix.copycat.server.session.Sessions
Removes a listener from the sessions.
removeSegment(Segment) - Method in class io.atomix.copycat.server.storage.SegmentManager
Removes a segment.
replaceSegments(Collection<Segment>, Segment) - Method in class io.atomix.copycat.server.storage.SegmentManager
Inserts a segment.
retainStaleSnapshots() - Method in class io.atomix.copycat.server.storage.Storage
Returns a boolean value indicating whether to retain stale snapshots on disk.
reverseSegments() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the collection of segments in reverse order.
run() - Method in class io.atomix.copycat.server.storage.compaction.MajorCompactionTask
 
run() - Method in class io.atomix.copycat.server.storage.compaction.MinorCompactionTask
 

S

SearchableOffsetIndex - Class in io.atomix.copycat.server.storage.index
Ordered offset index;
SearchableOffsetIndex(OffsetIndex) - Constructor for class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
Segment - Class in io.atomix.copycat.server.storage
Stores a sequence of entries with monotonically increasing indexes in a Buffer.
segment(long) - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the segment for the given index.
SegmentDescriptor - Class in io.atomix.copycat.server.storage
Stores information about a Segment of the log.
SegmentDescriptor(Buffer) - Constructor for class io.atomix.copycat.server.storage.SegmentDescriptor
 
SegmentDescriptor.Builder - Class in io.atomix.copycat.server.storage
Segment descriptor builder.
SegmentFile - Class in io.atomix.copycat.server.storage
Segment file utility.
SegmentManager - Class in io.atomix.copycat.server.storage
Manages creation and deletion of Segments of the Log.
SegmentManager(String, Storage, Serializer) - Constructor for class io.atomix.copycat.server.storage.SegmentManager
 
segments() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the collection of segments.
SequentialOffsetIndex - Class in io.atomix.copycat.server.storage.index
Sequential offset index.
SequentialOffsetIndex(Buffer) - Constructor for class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
serializer() - Method in class io.atomix.copycat.server.CopycatServer
Returns the server's binary serializer which is shared among the protocol, state machine, and storage.
serializer() - Method in class io.atomix.copycat.server.storage.Log
Returns the log entry serializer.
serializer() - Method in class io.atomix.copycat.server.storage.SegmentManager
Returns the entry serializer.
serializer() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
Returns the snapshot store serializer.
serializer() - Method in class io.atomix.copycat.server.storage.system.MetaStore
Returns the metastore serializer.
serverAddress() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member server address.
ServerSession - Interface in io.atomix.copycat.server.session
Provides an interface to communicating with a client via session events.
session() - Method in interface io.atomix.copycat.server.Commit
Returns the session that submitted the operation.
session(long) - Method in interface io.atomix.copycat.server.session.Sessions
Returns a session by session ID.
SessionListener - Interface in io.atomix.copycat.server.session
Support for listening for state changes in server sessions.
Sessions - Interface in io.atomix.copycat.server.session
Provides a set of active server sessions.
sessions() - Method in interface io.atomix.copycat.server.StateMachineContext
Returns the state machine sessions.
shutdown() - Method in class io.atomix.copycat.server.CopycatServer
Shuts down the server without leaving the Copycat cluster.
size() - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
size(int) - Static method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Returns the count of the index for the given number of entries.
size() - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Returns the number of entries active in the index.
size() - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
size() - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
size() - Method in class io.atomix.copycat.server.storage.Log
Returns the total size of all segments of the log on disk in bytes.
size() - Method in class io.atomix.copycat.server.storage.Segment
Returns the total size of the segment in bytes.
skip(long) - Method in class io.atomix.copycat.server.storage.Log
Skips the given number of entries.
skip(long) - Method in class io.atomix.copycat.server.storage.Segment
Skips a number of entries in the segment.
skip(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotReader
 
snapshot(SnapshotWriter) - Method in interface io.atomix.copycat.server.Snapshottable
Takes a snapshot of the state machine state.
Snapshot - Class in io.atomix.copycat.server.storage.snapshot
Manages reading and writing a single snapshot file.
snapshot(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
Returns a snapshot by index.
SnapshotDescriptor - Class in io.atomix.copycat.server.storage.snapshot
Stores information about a Snapshot of the state machine.
SnapshotDescriptor(Buffer) - Constructor for class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
 
SnapshotDescriptor.Builder - Class in io.atomix.copycat.server.storage.snapshot
Snapshot descriptor builder.
SnapshotFile - Class in io.atomix.copycat.server.storage.snapshot
Represents a snapshot file on disk.
snapshotIndex(long) - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Sets the snapshot index to indicate commands entries that can be removed during compaction.
snapshotIndex() - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Returns the maximum index up to which snapshotted commands can be removed during compaction.
SnapshotReader - Class in io.atomix.copycat.server.storage.snapshot
Reads bytes from a state machine Snapshot.
snapshots() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
Returns a collection of all snapshots stored on disk.
SnapshotStore - Class in io.atomix.copycat.server.storage.snapshot
Persists server snapshots via the Storage module.
SnapshotStore(String, Storage, Serializer) - Constructor for class io.atomix.copycat.server.storage.snapshot.SnapshotStore
 
Snapshottable - Interface in io.atomix.copycat.server
Support for periodically persisting StateMachine snapshots to disk.
SnapshotWriter - Class in io.atomix.copycat.server.storage.snapshot
Writes bytes to a state machine Snapshot.
state() - Method in class io.atomix.copycat.server.CopycatServer
Returns the Copycat server state.
StateMachine - Class in io.atomix.copycat.server
Base class for user-provided Raft state machines.
StateMachineContext - Interface in io.atomix.copycat.server
State machine context.
StateMachineExecutor - Interface in io.atomix.copycat.server
Facilitates registration and execution of state machine commands and provides deterministic scheduling.
status() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member status.
storage() - Method in class io.atomix.copycat.server.CopycatServer
Returns the server storage.
Storage - Class in io.atomix.copycat.server.storage
Immutable log configuration and Log factory.
Storage() - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage(StorageLevel) - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage(String) - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage(File) - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage(String, StorageLevel) - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage(File, StorageLevel) - Constructor for class io.atomix.copycat.server.storage.Storage
 
Storage.Builder - Class in io.atomix.copycat.server.storage
Builds a Storage configuration.
StorageCleaner - Class in io.atomix.copycat.server.storage
Handles deletion of files.
StorageCleaner(Storage) - Constructor for class io.atomix.copycat.server.storage.StorageCleaner
 
StorageException - Exception in io.atomix.copycat.server.storage
Log exception.
StorageException() - Constructor for exception io.atomix.copycat.server.storage.StorageException
 
StorageException(String) - Constructor for exception io.atomix.copycat.server.storage.StorageException
 
StorageException(String, Throwable) - Constructor for exception io.atomix.copycat.server.storage.StorageException
 
StorageException(Throwable) - Constructor for exception io.atomix.copycat.server.storage.StorageException
 
StorageLevel - Enum in io.atomix.copycat.server.storage
Log storage level configuration values which control how logs are stored on disk or in memory.
storeConfiguration(Configuration) - Method in class io.atomix.copycat.server.storage.system.MetaStore
Stores the current cluster configuration.
storeTerm(long) - Method in class io.atomix.copycat.server.storage.system.MetaStore
Stores the current server term.
storeVote(int) - Method in class io.atomix.copycat.server.storage.system.MetaStore
Stores the last voted server.

T

term() - Method in interface io.atomix.copycat.server.cluster.Cluster
Returns the current cluster term.
term(long) - Method in class io.atomix.copycat.server.storage.Log
Returns the term for the entry at the given index.
term(long) - Method in class io.atomix.copycat.server.storage.Segment
Reads the term for the entry at the given index.
term() - Method in class io.atomix.copycat.server.storage.system.Configuration
Returns the configuration term.
time() - Method in interface io.atomix.copycat.server.Commit
Returns the time at which the operation was committed.
time() - Method in class io.atomix.copycat.server.storage.system.Configuration
Returns the configuration time.
timestamp() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Returns the snapshot timestamp.
timestamp() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor
Returns the snapshot timestamp.
timestamp() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotFile
Returns the snapshot timestamp.
toString() - Method in class io.atomix.copycat.server.storage.compaction.MajorCompactionTask
 
toString() - Method in class io.atomix.copycat.server.storage.compaction.MinorCompactionTask
 
toString() - Method in class io.atomix.copycat.server.storage.Log
 
toString() - Method in class io.atomix.copycat.server.storage.Segment
 
toString() - Method in class io.atomix.copycat.server.storage.SegmentManager
 
toString() - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotStore
 
toString() - Method in class io.atomix.copycat.server.storage.Storage
 
toString() - Method in class io.atomix.copycat.server.storage.system.Configuration
 
toString() - Method in class io.atomix.copycat.server.storage.system.MetaStore
 
truncate(long) - Method in class io.atomix.copycat.server.storage.index.DelegatingOffsetIndex
 
truncate(long) - Method in interface io.atomix.copycat.server.storage.index.OffsetIndex
Truncates the index up to the given offset.
truncate(long) - Method in class io.atomix.copycat.server.storage.index.SearchableOffsetIndex
 
truncate(long) - Method in class io.atomix.copycat.server.storage.index.SequentialOffsetIndex
 
truncate() - Method in class io.atomix.copycat.server.storage.Log
Truncates the log.
truncate(long) - Method in class io.atomix.copycat.server.storage.Log
Truncates the log up to the given index.
truncate(long) - Method in class io.atomix.copycat.server.storage.Segment
Truncates entries after the given index.
type() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the member type.
type() - Method in interface io.atomix.copycat.server.Commit
Returns the commit type.

U

unblock() - Method in interface io.atomix.copycat.server.StateMachineExecutor
 
unregister(ServerSession) - Method in interface io.atomix.copycat.server.session.SessionListener
Called when a session is unregistered by the client.
update(long) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Writes an update to the descriptor.
updated() - Method in interface io.atomix.copycat.server.cluster.Member
Returns the time at which the member was updated.
updated() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns last time the segment was updated.

V

valueOf(String) - Static method in enum io.atomix.copycat.server.cluster.Member.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.atomix.copycat.server.cluster.Member.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.atomix.copycat.server.CopycatServer.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.atomix.copycat.server.storage.compaction.Compaction.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.atomix.copycat.server.storage.compaction.Compaction
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.atomix.copycat.server.storage.StorageLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.atomix.copycat.server.cluster.Member.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.atomix.copycat.server.cluster.Member.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.atomix.copycat.server.CopycatServer.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.atomix.copycat.server.storage.compaction.Compaction.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.atomix.copycat.server.storage.compaction.Compaction
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.atomix.copycat.server.storage.StorageLevel
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class io.atomix.copycat.server.storage.SegmentDescriptor
Returns the segment version.
version() - Method in class io.atomix.copycat.server.storage.SegmentFile
Returns the segment version.

W

withClientTransport(Transport) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the client transport.
withCompactionThreads(int) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the number of log compaction threads, returning the builder for method chaining.
withCompactionThreshold(double) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the percentage of entries in the segment that must be released before a segment can be compacted, returning the builder for method chaining.
withDefaultCompactionMode(Compaction.Mode) - Method in class io.atomix.copycat.server.storage.compaction.Compactor
Sets the default compaction mode.
withDirectory(String) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the log directory, returning the builder for method chaining.
withDirectory(File) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the log directory, returning the builder for method chaining.
withElectionTimeout(Duration) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the Raft election timeout, returning the Raft configuration for method chaining.
withEntryBufferSize(int) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the entry buffer size.
withFlushOnCommit() - Method in class io.atomix.copycat.server.storage.Storage.Builder
Enables flushing buffers to disk when entries are committed to a segment, returning the builder for method chaining.
withFlushOnCommit(boolean) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets whether to flush buffers to disk when entries are committed to a segment, returning the builder for method chaining.
withGlobalSuspendTimeout(Duration) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the timeout after which suspended global replication will resume and force a partitioned follower to truncate its log once the partition heals.
withHeartbeatInterval(Duration) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the Raft heartbeat interval, returning the Raft configuration for method chaining.
withId(long) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Sets the segment identifier.
withIndex(long) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Sets the segment index.
withIndex(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor.Builder
Sets the segment index.
withMajorCompactionInterval(Duration) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the major compaction interval, returning the builder for method chaining.
withMaxEntries(int) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Sets the maximum number of entries in the segment.
withMaxEntriesPerSegment(int) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the maximum number of allows entries per segment, returning the builder for method chaining.
withMaxSegmentSize(long) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Sets maximum count of the segment.
withMaxSegmentSize(int) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the maximum segment size in bytes, returning the builder for method chaining.
withMinorCompactionInterval(Duration) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the minor compaction interval, returning the builder for method chaining.
withName(String) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the server name.
withRetainStaleSnapshots() - Method in class io.atomix.copycat.server.storage.Storage.Builder
Enables retaining stale snapshots on disk, returning the builder for method chaining.
withRetainStaleSnapshots(boolean) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets whether to retain stale snapshots on disk, returning the builder for method chaining.
withSerializer(Serializer) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the Raft serializer.
withServerTransport(Transport) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the server transport.
withSessionTimeout(Duration) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the Raft session timeout, returning the Raft configuration for method chaining.
withStateMachine(Supplier<StateMachine>) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the Raft state machine factory.
withStorage(Storage) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the storage module.
withStorageLevel(StorageLevel) - Method in class io.atomix.copycat.server.storage.Storage.Builder
Sets the log storage level, returning the builder for method chaining.
withTimestamp(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotDescriptor.Builder
Sets the snapshot timestamp.
withTransport(Transport) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the client and server transport.
withType(Member.Type) - Method in class io.atomix.copycat.server.CopycatServer.Builder
Sets the initial server member type.
withVersion(long) - Method in class io.atomix.copycat.server.storage.SegmentDescriptor.Builder
Sets the segment version.
write(Bytes) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
write(byte[]) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
write(Bytes, long, long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
write(byte[], long, long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
write(Buffer) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeBoolean(boolean) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeByte(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeChar(char) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeDouble(double) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeFloat(float) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeInt(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeLong(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeMedium(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeObject(Object) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
Writes an object to the snapshot.
writer() - Method in class io.atomix.copycat.server.storage.snapshot.Snapshot
Returns a new snapshot writer.
writeShort(short) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeString(String) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeUnsignedByte(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeUnsignedInt(long) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeUnsignedMedium(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeUnsignedShort(int) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
writeUTF8(String) - Method in class io.atomix.copycat.server.storage.snapshot.SnapshotWriter
 
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2013–2016. All rights reserved.