Class SessionInitializerWorker
java.lang.Object
org.keycloak.models.sessions.infinispan.initializer.SessionInitializerWorker
- All Implemented Interfaces:
Serializable
,Function<org.infinispan.manager.EmbeddedCacheManager,
SessionLoader.WorkerResult>
public class SessionInitializerWorker
extends Object
implements Function<org.infinispan.manager.EmbeddedCacheManager,SessionLoader.WorkerResult>, Serializable
- Author:
- Marek Posolda
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) void
setWorkerEnvironment
(SessionLoader.LoaderContext loaderCtx, SessionLoader.WorkerContext workerCtx, SessionLoader sessionLoader, String cacheName)
-
Constructor Details
-
SessionInitializerWorker
public SessionInitializerWorker()
-
-
Method Details
-
setWorkerEnvironment
public void setWorkerEnvironment(SessionLoader.LoaderContext loaderCtx, SessionLoader.WorkerContext workerCtx, SessionLoader sessionLoader, String cacheName) -
apply
public SessionLoader.WorkerResult apply(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager) - Specified by:
apply
in interfaceFunction<org.infinispan.manager.EmbeddedCacheManager,
SessionLoader.WorkerResult>
-