| 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. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Set<RaftSessionMetadata>> |
RaftMetadataClient.getSessions()
Returns a list of open sessions.
|
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.
|
default CompletableFuture<Set<RaftSessionMetadata>> |
RaftMetadataClient.getSessions(String serviceType)
Returns a list of open sessions of the given type.
|
default CompletableFuture<Set<RaftSessionMetadata>> |
RaftMetadataClient.getSessions(String serviceType,
String serviceName)
Returns a list of open sessions for the given service.
|
| Modifier and Type | Method and Description |
|---|---|
Set<RaftSessionMetadata> |
MetadataResponse.sessions()
Returns the session metadata.
|
| Modifier and Type | Method and Description |
|---|---|
MetadataResponse.Builder |
MetadataResponse.Builder.withSessions(RaftSessionMetadata... sessions)
Sets the session metadata.
|
| Modifier and Type | Method and Description |
|---|---|
MetadataResponse.Builder |
MetadataResponse.Builder.withSessions(Collection<RaftSessionMetadata> sessions)
Sets the session metadata.
|
| Constructor and Description |
|---|
MetadataResponse(RaftResponse.Status status,
RaftError error,
Set<RaftSessionMetadata> sessions) |
Copyright © 2013–2017. All rights reserved.