Class EmbeddedCounterManagerFactory

java.lang.Object
org.infinispan.counter.EmbeddedCounterManagerFactory

public final class EmbeddedCounterManagerFactory extends Object
A CounterManager factory for embedded cached.
Since:
9.0
Author:
Pedro Ruivo
  • Method Details

    • asCounterManager

      public static org.infinispan.counter.api.CounterManager asCounterManager(org.infinispan.manager.EmbeddedCacheManager cacheManager)
      Returns:
      the CounterManager associated to the EmbeddedCacheManager.
      Throws:
      org.infinispan.commons.IllegalLifecycleStateException - if the cache manager is not running