Package org.infinispan.counter.impl
Class CounterModuleLifecycle
- java.lang.Object
-
- org.infinispan.counter.impl.CounterModuleLifecycle
-
- All Implemented Interfaces:
ModuleLifecycle
@MetaInfServices(ModuleLifecycle.class) public class CounterModuleLifecycle extends Object implements ModuleLifecycle
It register aEmbeddedCounterManager
to eachEmbeddedCacheManager
started and starts the cache on it.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Field Summary
Fields Modifier and Type Field Description static String
COUNTER_CACHE_NAME
-
Constructor Summary
Constructors Constructor Description CounterModuleLifecycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration)
-
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, cacheStarting, cacheStopped, cacheStopping
-
-
-
-
Field Detail
-
COUNTER_CACHE_NAME
public static final String COUNTER_CACHE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
cacheManagerStarting
public void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration)
- Specified by:
cacheManagerStarting
in interfaceModuleLifecycle
-
-