Class RemoteApplicationPublishedBridge

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.ApplicationEventPublisherAware

    public class RemoteApplicationPublishedBridge
    extends org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
    A bridge between Infinispan Remote events and Spring.
    Since:
    9.0
    Author:
    Sebastian Ɓaskawiec, Katia Aresti, karesti@redhat.com
    • Field Summary

      • Fields inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge

        eventSource, springEventsPublisher
    • Constructor Detail

      • RemoteApplicationPublishedBridge

        public RemoteApplicationPublishedBridge​(org.infinispan.spring.common.provider.SpringCache eventSource)
    • Method Detail

      • registerListener

        protected void registerListener()
        Specified by:
        registerListener in class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge
      • unregisterListener

        public void unregisterListener()
        Specified by:
        unregisterListener in class org.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)