public class BaseCounter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected CounterConfiguration |
configuration |
protected CounterOperationFactory |
factory |
protected String |
name |
| Modifier and Type | Method and Description |
|---|---|
<T extends CounterListener> |
addListener(T listener) |
CounterConfiguration |
getConfiguration() |
String |
getName() |
CompletableFuture<Void> |
remove() |
CompletableFuture<Void> |
reset() |
protected final String name
protected final CounterConfiguration configuration
protected final CounterOperationFactory factory
public String getName()
public CompletableFuture<Void> reset()
public CompletableFuture<Void> remove()
public CounterConfiguration getConfiguration()
public <T extends CounterListener> Handle<T> addListener(T listener)
Copyright © 2022 JBoss by Red Hat. All rights reserved.