Class RemoteInfinispanNotificationManager
java.lang.Object
org.keycloak.cluster.infinispan.remote.RemoteInfinispanNotificationManager
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteInfinispanNotificationManager(Executor executor, org.infinispan.client.hotrod.RemoteCache<String, Object> workCache, NodeInfo nodeInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidnotify(String taskKey, Collection<? extends ClusterEvent> events, boolean ignoreSender, ClusterProvider.DCNotify dcNotify) voidonEntryRemoved(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) voidonEntryUpdated(org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent<byte[]> event) voidregisterListener(String taskKey, ClusterListener task) registerTaskCallback(String taskKey, TaskCallback callback) void
-
Constructor Details
-
RemoteInfinispanNotificationManager
-
-
Method Details
-
addClientListener
public void addClientListener() -
removeClientListener
public void removeClientListener() -
registerListener
-
registerTaskCallback
-
notify
public void notify(String taskKey, Collection<? extends ClusterEvent> events, boolean ignoreSender, ClusterProvider.DCNotify dcNotify) -
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)
-