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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionInitializerWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionLoader.WorkerResult
apply(org.infinispan.manager.EmbeddedCacheManager embeddedCacheManager)
void
setWorkerEnvironment(SessionLoader.LoaderContext loaderCtx, SessionLoader.WorkerContext workerCtx, SessionLoader sessionLoader, String cacheName)
-
-
-
Method Detail
-
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>
-
-