public interface SessionAwareService
Modifier and Type | Method and Description |
---|---|
Collection<Long> |
getAttachedSessions(CPGroupId groupId)
Returns a collection of session ids that this service has attached some
resources.
|
void |
onSessionClose(CPGroupId groupId,
long sessionId)
Called when a session is closed.
|
void |
setSessionAccessor(SessionAccessor accessor)
Injects
SessionAccessor in order to enable the custom service to
validate and trigger session activity |
void setSessionAccessor(SessionAccessor accessor)
SessionAccessor
in order to enable the custom service to
validate and trigger session activityvoid onSessionClose(CPGroupId groupId, long sessionId)
Collection<Long> getAttachedSessions(CPGroupId groupId)
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.