public interface SessionAccessor
Modifier and Type | Method and Description |
---|---|
void |
heartbeat(CPGroupId groupId,
long sessionId)
Performs a heartbeat for the given session id in the Raft group.
|
boolean |
isActive(CPGroupId groupId,
long sessionId)
Checks if there is an active session with the given id in the Raft group
|
boolean isActive(CPGroupId groupId, long sessionId)
void heartbeat(CPGroupId groupId, long sessionId)
IllegalStateException
- if there is no RaftSessionRegistry
initialized for the Raft groupSessionExpiredException
- if there is no active session
with the given id in the Raft groupCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.