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