Package org.infinispan.counter
Class EmbeddedCounterManagerFactory
- java.lang.Object
-
- org.infinispan.counter.EmbeddedCounterManagerFactory
-
public final class EmbeddedCounterManagerFactory extends java.lang.Object
ACounterManager
factory for embedded cached.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CounterManager
asCounterManager(EmbeddedCacheManager cacheManager)
-
-
-
Method Detail
-
asCounterManager
public static CounterManager asCounterManager(EmbeddedCacheManager cacheManager)
- Returns:
- the
CounterManager
associated to theEmbeddedCacheManager
. - Throws:
IllegalLifecycleStateException
- if the cache manager is not running
-
-