| Package | Description |
|---|---|
| io.atomix.primitive.service |
Provides classes and interfaces for defining distributed primitive state machines.
|
| io.atomix.primitive.session |
Provides classes and interfaces for managing primitive sessions.
|
| io.atomix.primitive.session.impl | |
| io.atomix.protocols.raft.service |
Provides classes for managing Raft-based primitive services.
|
| io.atomix.protocols.raft.session |
Provides a
Session implementation for the Raft consensus protocol. |
| Modifier and Type | Method and Description |
|---|---|
Session |
ServiceContext.currentSession()
Returns the current session.
|
Session |
Commit.session()
Returns the session that submitted the operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPrimitiveService.register(Session session) |
void |
PrimitiveService.register(Session session)
Registers a primitive session.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Sessions.getSession(long sessionId)
Returns a session by session ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionListener.onClose(Session session)
Called when a session was closed by the client.
|
void |
SessionListener.onExpire(Session session)
Called when a session is expired by the system.
|
void |
SessionListener.onOpen(Session session)
Called when a new session is registered.
|
| Modifier and Type | Class and Description |
|---|---|
class |
io.atomix.primitive.session.impl.AbstractSession
Abstract session.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
RaftServiceContext.currentSession() |
| Modifier and Type | Class and Description |
|---|---|
class |
RaftSession
Raft session.
|
Copyright © 2013–2018. All rights reserved.