Class RemoteCounterManager
- java.lang.Object
-
- org.infinispan.hotrod.impl.counter.RemoteCounterManager
-
- All Implemented Interfaces:
org.infinispan.counter.api.CounterManager
public class RemoteCounterManager extends Object implements org.infinispan.counter.api.CounterManager
ACounterManagerimplementation for Hot Rod clients.- Since:
- 14.0
-
-
Constructor Summary
Constructors Constructor Description RemoteCounterManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandefineCounter(String name, org.infinispan.counter.api.CounterConfiguration configuration)org.infinispan.counter.api.CounterConfigurationgetConfiguration(String counterName)Collection<String>getCounterNames()org.infinispan.counter.api.StrongCountergetStrongCounter(String name)org.infinispan.counter.api.WeakCountergetWeakCounter(String name)booleanisDefined(String name)voidremove(String counterName)voidstart(ChannelFactory channelFactory, Codec codec, HotRodConfiguration configuration, ClientListenerNotifier listenerNotifier)voidstop()voidundefineCounter(String name)
-
-
-
Method Detail
-
start
public void start(ChannelFactory channelFactory, Codec codec, HotRodConfiguration configuration, ClientListenerNotifier listenerNotifier)
-
getStrongCounter
public org.infinispan.counter.api.StrongCounter getStrongCounter(String name)
- Specified by:
getStrongCounterin interfaceorg.infinispan.counter.api.CounterManager
-
getWeakCounter
public org.infinispan.counter.api.WeakCounter getWeakCounter(String name)
- Specified by:
getWeakCounterin interfaceorg.infinispan.counter.api.CounterManager
-
defineCounter
public boolean defineCounter(String name, org.infinispan.counter.api.CounterConfiguration configuration)
- Specified by:
defineCounterin interfaceorg.infinispan.counter.api.CounterManager
-
undefineCounter
public void undefineCounter(String name)
- Specified by:
undefineCounterin interfaceorg.infinispan.counter.api.CounterManager
-
isDefined
public boolean isDefined(String name)
- Specified by:
isDefinedin interfaceorg.infinispan.counter.api.CounterManager
-
getConfiguration
public org.infinispan.counter.api.CounterConfiguration getConfiguration(String counterName)
- Specified by:
getConfigurationin interfaceorg.infinispan.counter.api.CounterManager
-
remove
public void remove(String counterName)
- Specified by:
removein interfaceorg.infinispan.counter.api.CounterManager
-
getCounterNames
public Collection<String> getCounterNames()
- Specified by:
getCounterNamesin interfaceorg.infinispan.counter.api.CounterManager
-
stop
public void stop()
-
-