Package org.infinispan.counter.impl
Class CounterModuleLifecycle
java.lang.Object
org.infinispan.counter.impl.CounterModuleLifecycle
- All Implemented Interfaces:
ModuleLifecycle
It registers a
EmbeddedCounterManager to each EmbeddedCacheManager started and starts the cache on
it.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration) voidcacheStarting(ComponentRegistry cr, Configuration configuration, String cacheName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.lifecycle.ModuleLifecycle
cacheManagerStarted, cacheManagerStopped, cacheManagerStopping, cacheStarted, cacheStopped, cacheStopping
-
Field Details
-
COUNTER_CACHE_NAME
- See Also:
-
-
Constructor Details
-
CounterModuleLifecycle
public CounterModuleLifecycle()
-
-
Method Details
-
cacheManagerStarting
public void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration) - Specified by:
cacheManagerStartingin interfaceModuleLifecycle
-
cacheStarting
- Specified by:
cacheStartingin interfaceModuleLifecycle
-