- builder
Returns a new Raft server builder. The provided Address is the address to which
to bind the server b
- bootstrap
Bootstraps the cluster using the provided cluster configuration. Bootstrapping
the cluster results i
- join
Joins the cluster. Joining the cluster results in the local server being added
to an existing cluste
- serializer
Returns the server serializer.
- leave
Leaves the Copycat cluster. When the server is stopped, the underlying Transport
will be Transport#c
- shutdown
Shuts down the server without leaving the Copycat cluster. When the server is
shutdown, the underlyi
- cluster
Returns the server's cluster configuration.
- isRunning
Returns a boolean indicating whether the server is running.
- <init>
- context
Returns the server execution context. The thread context is the event loop that
this server uses to
- listen
Starts listening the server.
- onStateChange
Registers a state change listener. Throughout the lifetime of the cluster, the
server will periodica