Package org.infinispan.counter
Class EmbeddedCounterManagerFactory
java.lang.Object
org.infinispan.counter.EmbeddedCounterManagerFactory
A
CounterManager
factory for embedded cached.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.counter.api.CounterManager
asCounterManager
(EmbeddedCacheManager cacheManager)
-
Method Details
-
asCounterManager
public static org.infinispan.counter.api.CounterManager asCounterManager(EmbeddedCacheManager cacheManager) - Returns:
- the
CounterManager
associated to theEmbeddedCacheManager
. - Throws:
IllegalLifecycleStateException
- if the cache manager is not running
-