Class RemoteInfinispanClusterProvider
java.lang.Object
org.keycloak.cluster.infinispan.remote.RemoteInfinispanClusterProvider
- All Implemented Interfaces:
org.keycloak.cluster.ClusterProvider,org.keycloak.provider.Provider
public class RemoteInfinispanClusterProvider
extends Object
implements org.keycloak.cluster.ClusterProvider
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.keycloak.cluster.ClusterProvider
org.keycloak.cluster.ClusterProvider.DCNotify -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()<T> org.keycloak.cluster.ExecutionResult<T>executeIfNotExecuted(String taskKey, int taskTimeoutInSeconds, Callable<T> task) executeIfNotExecutedAsync(String taskKey, int taskTimeoutInSeconds, Callable task) intvoidnotify(String taskKey, Collection<? extends org.keycloak.cluster.ClusterEvent> events, boolean ignoreSender) voidnotify(String taskKey, Collection<? extends org.keycloak.cluster.ClusterEvent> events, boolean ignoreSender, org.keycloak.cluster.ClusterProvider.DCNotify dcNotify) voidnotify(String taskKey, org.keycloak.cluster.ClusterEvent event, boolean ignoreSender, org.keycloak.cluster.ClusterProvider.DCNotify dcNotify) voidregisterListener(String taskKey, org.keycloak.cluster.ClusterListener task) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.cluster.ClusterProvider
isPrimaryCluster, isPrimaryClusterSupported, notify
-
Constructor Details
-
Method Details
-
getClusterStartupTime
public int getClusterStartupTime()- Specified by:
getClusterStartupTimein interfaceorg.keycloak.cluster.ClusterProvider
-
executeIfNotExecuted
public <T> org.keycloak.cluster.ExecutionResult<T> executeIfNotExecuted(String taskKey, int taskTimeoutInSeconds, Callable<T> task) - Specified by:
executeIfNotExecutedin interfaceorg.keycloak.cluster.ClusterProvider
-
executeIfNotExecutedAsync
public Future<Boolean> executeIfNotExecutedAsync(String taskKey, int taskTimeoutInSeconds, Callable task) - Specified by:
executeIfNotExecutedAsyncin interfaceorg.keycloak.cluster.ClusterProvider
-
registerListener
- Specified by:
registerListenerin interfaceorg.keycloak.cluster.ClusterProvider
-
notify
public void notify(String taskKey, org.keycloak.cluster.ClusterEvent event, boolean ignoreSender, org.keycloak.cluster.ClusterProvider.DCNotify dcNotify) - Specified by:
notifyin interfaceorg.keycloak.cluster.ClusterProvider
-
notify
public void notify(String taskKey, Collection<? extends org.keycloak.cluster.ClusterEvent> events, boolean ignoreSender) - Specified by:
notifyin interfaceorg.keycloak.cluster.ClusterProvider
-
notify
public void notify(String taskKey, Collection<? extends org.keycloak.cluster.ClusterEvent> events, boolean ignoreSender, org.keycloak.cluster.ClusterProvider.DCNotify dcNotify) - Specified by:
notifyin interfaceorg.keycloak.cluster.ClusterProvider
-
close
public void close()- Specified by:
closein interfaceorg.keycloak.provider.Provider
-