| Package | Description |
|---|---|
| io.atomix.protocols.raft |
Core interfaces for operating on replicated state machines in the Raft cluster.
|
| io.atomix.protocols.raft.protocol |
RaftRequest and RaftResponse
implementations for all client-server communication. |
| io.atomix.protocols.raft.proxy |
Facilitates modification of a Raft state machine via proxy.
|
| io.atomix.protocols.raft.service | |
| io.atomix.protocols.raft.session |
Interfaces for managing client sessions on a Raft server.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Set<RaftSessionMetadata>> |
RaftMetadataClient.getSessions(ServiceType serviceType)
Returns a list of open sessions of the given type.
|
CompletableFuture<Set<RaftSessionMetadata>> |
RaftMetadataClient.getSessions(ServiceType serviceType,
String serviceName)
Returns a list of open sessions for the given service.
|
| Modifier and Type | Method and Description |
|---|---|
OpenSessionRequest.Builder |
OpenSessionRequest.Builder.withServiceType(ServiceType serviceType)
Sets the service type name.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceType |
RaftProxyExecutor.serviceType()
Returns the client proxy type.
|
| Modifier and Type | Method and Description |
|---|---|
RaftProxyClient.Builder |
RaftProxyClient.Builder.withServiceType(ServiceType serviceType)
Sets the service type.
|
RaftProxy.Builder |
RaftProxy.Builder.withServiceType(ServiceType serviceType)
Sets the service type.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceType |
ServiceType.from(String name)
Creates a new Raft service type identifier.
|
ServiceType |
ServiceContext.serviceType()
Returns the state machine type.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceType |
RaftSessionMetadata.serviceType()
Returns the session type.
|
ServiceType |
RaftSession.serviceType()
Returns the session's service type.
|
Copyright © 2013–2017. All rights reserved.