public class ClientProxySessionManager extends AbstractProxySessionManager
NO_SESSION_ID| Constructor and Description |
|---|
ClientProxySessionManager(HazelcastClientInstanceImpl client) |
| Modifier and Type | Method and Description |
|---|---|
protected ICompletableFuture<Object> |
closeSession(RaftGroupId groupId,
Long sessionId) |
protected long |
generateThreadId(RaftGroupId groupId) |
protected ICompletableFuture<Object> |
heartbeat(RaftGroupId groupId,
long sessionId) |
protected SessionResponse |
requestNewSession(RaftGroupId groupId) |
protected ScheduledFuture<?> |
scheduleWithRepetition(Runnable task,
long period,
TimeUnit unit) |
void |
shutdownAndAwait() |
acquireSession, acquireSession, getOrCreateUniqueThreadId, getSession, getSessionAcquireCount, invalidateSession, releaseSession, releaseSession, resetInternalState, shutdownpublic ClientProxySessionManager(HazelcastClientInstanceImpl client)
protected long generateThreadId(RaftGroupId groupId)
generateThreadId in class AbstractProxySessionManagerprotected SessionResponse requestNewSession(RaftGroupId groupId)
requestNewSession in class AbstractProxySessionManagerprotected ScheduledFuture<?> scheduleWithRepetition(Runnable task, long period, TimeUnit unit)
scheduleWithRepetition in class AbstractProxySessionManagerprotected ICompletableFuture<Object> heartbeat(RaftGroupId groupId, long sessionId)
heartbeat in class AbstractProxySessionManagerprotected ICompletableFuture<Object> closeSession(RaftGroupId groupId, Long sessionId)
closeSession in class AbstractProxySessionManagerpublic void shutdownAndAwait()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.