public class SessionEntryListener extends Object implements com.hazelcast.map.listener.EntryAddedListener<String,ExpiringSession>, com.hazelcast.map.listener.EntryEvictedListener<String,ExpiringSession>, com.hazelcast.map.listener.EntryRemovedListener<String,ExpiringSession>
ApplicationEventPublisher
.
SessionCreatedEvent
SessionExpiredEvent
SessionDeletedEvent
Constructor and Description |
---|
SessionEntryListener(org.springframework.context.ApplicationEventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
entryAdded(com.hazelcast.core.EntryEvent<String,ExpiringSession> event) |
void |
entryEvicted(com.hazelcast.core.EntryEvent<String,ExpiringSession> event) |
void |
entryRemoved(com.hazelcast.core.EntryEvent<String,ExpiringSession> event) |
public SessionEntryListener(org.springframework.context.ApplicationEventPublisher eventPublisher)
public void entryAdded(com.hazelcast.core.EntryEvent<String,ExpiringSession> event)
entryAdded
in interface com.hazelcast.map.listener.EntryAddedListener<String,ExpiringSession>
public void entryEvicted(com.hazelcast.core.EntryEvent<String,ExpiringSession> event)
entryEvicted
in interface com.hazelcast.map.listener.EntryEvictedListener<String,ExpiringSession>
public void entryRemoved(com.hazelcast.core.EntryEvent<String,ExpiringSession> event)
entryRemoved
in interface com.hazelcast.map.listener.EntryRemovedListener<String,ExpiringSession>