public interface CPSessionManagementService
CP sessions are used for tracking liveliness of Hazelcast servers and clients that hold CP resources.
|Modifier and Type||Method and Description|
If a Hazelcast instance that owns a CP session crashes, its CP session is not terminated immediately.
Returns a non-null collection of CP sessions that are currently active in the given CP group.
CompletionStage<Collection<CPSession>> getAllSessions(String groupName)
CompletionStage<Boolean> forceCloseSession(String groupName, long sessionId)
CPSubsystemConfig.getSessionTimeToLiveSeconds()passes. If it is known for sure that the session owner is not partitioned away and actually crashed, this method can be used for closing the session and releasing its resources immediately.
Copyright © 2020 Hazelcast, Inc.. All rights reserved.