Class RemoteInfinispanNotificationManager

java.lang.Object
org.keycloak.cluster.infinispan.remote.RemoteInfinispanNotificationManager

public class RemoteInfinispanNotificationManager extends Object
  • Constructor Details

    • RemoteInfinispanNotificationManager

      public RemoteInfinispanNotificationManager(Executor executor, org.infinispan.client.hotrod.RemoteCache<String,Object> workCache, NodeInfo nodeInfo)
  • Method Details

    • addClientListener

      public void addClientListener()
    • removeClientListener

      public void removeClientListener()
    • registerListener

      public void registerListener(String taskKey, ClusterListener task)
    • registerTaskCallback

      public TaskCallback registerTaskCallback(String taskKey, TaskCallback callback)
    • notify

      public void notify(String taskKey, Collection<? extends ClusterEvent> events, boolean ignoreSender, ClusterProvider.DCNotify dcNotify)
    • getMyNodeName

      public String getMyNodeName()
    • onEntryUpdated

      public void onEntryUpdated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)
    • onEntryRemoved

      public void onEntryRemoved(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event)