Class RemoteCacheInvoker
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.remotestore.RemoteCacheInvoker
-
public class RemoteCacheInvoker extends Object
- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RemoteCacheInvoker.MaxIdleTimeLoader
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description RemoteCacheInvoker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRemoteCache(String cacheName, org.infinispan.client.hotrod.RemoteCache remoteCache, RemoteCacheInvoker.MaxIdleTimeLoader maxIdleLoader)
Set<String>
getRemoteCacheNames()
<K,V extends SessionEntity>
voidrunTask(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper)
-
-
-
Method Detail
-
addRemoteCache
public void addRemoteCache(String cacheName, org.infinispan.client.hotrod.RemoteCache remoteCache, RemoteCacheInvoker.MaxIdleTimeLoader maxIdleLoader)
-
runTask
public <K,V extends SessionEntity> void runTask(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper)
-
-