Class RemoteCacheInvoker
java.lang.Object
org.keycloak.models.sessions.infinispan.remotestore.RemoteCacheInvoker
- Author:
- Marek Posolda
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRemoteCache
(String cacheName, org.infinispan.client.hotrod.RemoteCache remoteCache, RemoteCacheInvoker.MaxIdleTimeLoader maxIdleLoader) <K,
V extends SessionEntity>
voidrunTask
(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper)
-
Field Details
-
logger
public static final org.jboss.logging.Logger logger
-
-
Constructor Details
-
RemoteCacheInvoker
public RemoteCacheInvoker()
-
-
Method Details
-
addRemoteCache
public void addRemoteCache(String cacheName, org.infinispan.client.hotrod.RemoteCache remoteCache, RemoteCacheInvoker.MaxIdleTimeLoader maxIdleLoader) -
getRemoteCacheNames
-
runTask
public <K,V extends SessionEntity> void runTask(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper)
-