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.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 Summary

    Constructors
    Constructor
    Description
    RemoteApplicationPublishedBridge(org.infinispan.spring.common.provider.SpringCache eventSource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processCacheEntryCreated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
     
    void
    processCacheEntryDestroyed(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
     
    void
    processCacheEntryExpired(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 void
     
    void
     

    Methods inherited from class org.infinispan.spring.common.session.AbstractApplicationPublisherBridge

    emitSessionCreatedEvent, emitSessionDeletedEvent, emitSessionDestroyedEvent, emitSessionExpiredEvent, setApplicationEventPublisher

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RemoteApplicationPublishedBridge

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

    • 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)