Class BaseCounter
- java.lang.Object
-
- org.infinispan.hotrod.impl.counter.BaseCounter
-
public class BaseCounter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected org.infinispan.counter.api.CounterConfigurationconfigurationprotected CounterOperationFactoryfactoryprotected Stringname
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends org.infinispan.counter.api.CounterListener>
org.infinispan.counter.api.Handle<T>addListener(T listener)org.infinispan.counter.api.CounterConfigurationgetConfiguration()StringgetName()CompletableFuture<Void>remove()CompletableFuture<Void>reset()
-
-
-
Field Detail
-
name
protected final String name
-
configuration
protected final org.infinispan.counter.api.CounterConfiguration configuration
-
factory
protected final CounterOperationFactory factory
-
-
Method Detail
-
getName
public String getName()
-
reset
public CompletableFuture<Void> reset()
-
remove
public CompletableFuture<Void> remove()
-
getConfiguration
public org.infinispan.counter.api.CounterConfiguration getConfiguration()
-
addListener
public <T extends org.infinispan.counter.api.CounterListener> org.infinispan.counter.api.Handle<T> addListener(T listener)
-
-