Class RemoteApplicationPublishedBridge
- java.lang.Object
-
- org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
- org.infinispan.spring.remote.session.RemoteApplicationPublishedBridge
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationEventPublisherAware
public class RemoteApplicationPublishedBridge extends org.infinispan.spring.common.session.AbstractApplicationPublisherBridgeA bridge between Infinispan Remote events and Spring.- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec, Katia Aresti, karesti@redhat.com
-
-
Constructor Summary
Constructors Constructor Description RemoteApplicationPublishedBridge(org.infinispan.spring.common.provider.SpringCache eventSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocessCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)voidprocessCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)voidprocessCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)protected org.infinispan.util.KeyValuePair<String,org.springframework.session.Session>readEvent(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)protected voidregisterListener()voidunregisterListener()
-
-
-
Method Detail
-
registerListener
protected void registerListener()
- Specified by:
registerListenerin classorg.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
unregisterListener
public void unregisterListener()
- Specified by:
unregisterListenerin classorg.infinispan.spring.common.session.AbstractApplicationPublisherBridge
-
processCacheEntryCreated
public void processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
-
processCacheEntryExpired
public void processCacheEntryExpired(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
-
processCacheEntryDestroyed
public void processCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
-
readEvent
protected org.infinispan.util.KeyValuePair<String,org.springframework.session.Session> readEvent(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
-
-