| Package | Description |
|---|---|
| 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 |
|---|---|
RaftSession |
Commit.session()
Returns the session that submitted the operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractRaftService.onClose(RaftSession session) |
void |
AbstractRaftService.onExpire(RaftSession session) |
void |
AbstractRaftService.onOpen(RaftSession session) |
| Modifier and Type | Method and Description |
|---|---|
RaftSession |
RaftSessions.getSession(long sessionId)
Returns a session by session ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RaftSessionListener.onClose(RaftSession session)
Called when a session was closed by the client.
|
void |
RaftSessionListener.onExpire(RaftSession session)
Called when a session is expired by the system.
|
void |
RaftSessionListener.onOpen(RaftSession session)
Called when a new session is registered.
|
| Constructor and Description |
|---|
RaftSessionEvent(RaftSessionEvent.Type type,
RaftSession subject) |
RaftSessionEvent(RaftSessionEvent.Type type,
RaftSession subject,
long time) |
Copyright © 2013–2017. All rights reserved.