public interface PNCounterGeneratorCodecTemplate
| Modifier and Type | Method and Description |
|---|---|
Object |
add(String name,
long delta,
boolean getBeforeUpdate)
Adds a delta to the PNCounter value.
|
Object |
get(String name)
Query operation to retrieve the current value of the PNCounter.
|
@Since(value="1.6") Object get(String name)
name - the name of the PNCounter@Since(value="1.6") Object add(String name, long delta, boolean getBeforeUpdate)
name - the name of the PNCounterdelta - the delta to add to the counter value, can be negativegetBeforeUpdate - true if the operation should return the
counter value before the addition, false
if it should return the value after the additiongetBeforeUpdate is
true, otherwise the value after the updateCopyright © 2018. All Rights Reserved.