| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Counter | Returns: The counter created by this configCreates and returns a Counter based on the initial value |
| public final long | Returns: the initial value of counters created by this configGets the initial value |
| initialValue | back to summary |
|---|---|
| private final long initialValue | |
| CounterConfig | back to summary |
|---|---|
| public CounterConfig(long initialValue) Creates a config with the initial value | |
| createCounter | back to summary |
|---|---|
| public Counter createCounter() Creates and returns a Counter based on the initial value
| |
| getInitialValue | back to summary |
|---|---|
| public final long getInitialValue() Gets the initial value
| |