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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheManagerStarting
(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration) void
cacheStarting
(ComponentRegistry cr, Configuration configuration, String cacheName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
cacheManagerStarting
in interfaceModuleLifecycle
-
cacheStarting
- Specified by:
cacheStarting
in interfaceModuleLifecycle
-