public class CounterConfiguration extends Object
CounterManager.defineCounter(String,
CounterConfiguration)
.
The configuration must be built using builder(CounterType)
. Only CounterType
is
required.
CounterType
Modifier and Type | Class and Description |
---|---|
static class |
CounterConfiguration.Builder
The builder of
CounterConfiguration . |
Modifier and Type | Field and Description |
---|---|
static AdvancedExternalizer<CounterConfiguration> |
EXTERNALIZER |
Modifier and Type | Method and Description |
---|---|
static CounterConfiguration.Builder |
builder(CounterType type) |
int |
concurrencyLevel() |
boolean |
equals(Object o) |
int |
hashCode() |
long |
initialValue() |
long |
lowerBound() |
Storage |
storage() |
String |
toString() |
CounterType |
type() |
long |
upperBound() |
public static final AdvancedExternalizer<CounterConfiguration> EXTERNALIZER
public static CounterConfiguration.Builder builder(CounterType type)
public long initialValue()
public long upperBound()
public long lowerBound()
public CounterType type()
public int concurrencyLevel()
public Storage storage()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.