public class CounterConfig extends Object
Constructor and Description |
---|
CounterConfig(long initialValue)
Creates a config with the initial value
|
Modifier and Type | Method and Description |
---|---|
Counter |
createCounter()
Creates and returns a Counter based on the initial value
|
long |
getInitialValue()
Gets the initial value
|
public CounterConfig(long initialValue)
initialValue
- public final long getInitialValue()
public Counter createCounter()
Copyright 2001-2019, Terracotta, Inc.