| Modifier and Type | Method and Description |
|---|---|
Object |
closeSession(RaftGroupId groupId,
long sessionId)
Closes the given session on the given CP group
|
Object |
createSession(RaftGroupId groupId,
String endpointName)
Creates a session for the caller on the given CP group.
|
Object |
generateThreadId(RaftGroupId groupId)
Generates a new ID for the caller thread.
|
Object |
heartbeatSession(RaftGroupId groupId,
long sessionId)
Commits a heartbeat for the given session on the given cP group and
extends its session expiration time.
|
Object createSession(RaftGroupId groupId, String endpointName)
groupId - ID of the CP groupendpointName - Name of the caller HazelcastInstanceObject closeSession(RaftGroupId groupId, long sessionId)
groupId - ID of the CP groupsessionId - ID of the sessionObject heartbeatSession(RaftGroupId groupId, long sessionId)
groupId - ID of the CP groupsessionId - ID of the sessionObject generateThreadId(RaftGroupId groupId)
groupId - ID of the CP groupCopyright © 2019. All Rights Reserved.