Class LifecycleCallbacks
java.lang.Object
org.infinispan.server.core.LifecycleCallbacks
- All Implemented Interfaces:
ModuleLifecycle
Server module lifecycle callbacks
- Since:
- 5.0
- Author:
- Galder Zamarreño
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration) voidcacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName) Registers the interceptor in theInternalCacheNames.PROTOBUF_METADATA_CACHE_NAMEcache before it gets started.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ModuleLifecycle
cacheManagerStopped, cacheManagerStopping, cacheStarted, cacheStopped, cacheStopping
-
Constructor Details
-
LifecycleCallbacks
public LifecycleCallbacks()
-
-
Method Details
-
cacheManagerStarting
public void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration) - Specified by:
cacheManagerStartingin interfaceModuleLifecycle
-
cacheManagerStarted
- Specified by:
cacheManagerStartedin interfaceModuleLifecycle
-
cacheStarting
Registers the interceptor in theInternalCacheNames.PROTOBUF_METADATA_CACHE_NAMEcache before it gets started. Also creates query components for user caches.- Specified by:
cacheStartingin interfaceModuleLifecycle
-