public class CounterConfiguration
extends java.lang.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(java.lang.Object o) |
int |
hashCode() |
long |
initialValue() |
long |
lowerBound() |
Storage |
storage() |
java.lang.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()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object