| Modifier and Type | Method and Description |
|---|---|
long |
incrementAndGet(long delta)
Add value to it.
|
String |
name()
Its name.
|
void |
set(long value)
Set specific value.
|
public ReCounter(Counter orgn)
orgn - Original object@RetryOnFailure(verbose=false, attempts=20, delay=20L, unit=SECONDS) public String name()
Counter@RetryOnFailure(verbose=false, attempts=20, delay=20L, unit=SECONDS) public void set(long value) throws IOException
Counterset in interface Countervalue - Value to setIOException - If some I/O problem@RetryOnFailure(verbose=false, attempts=20, delay=20L, unit=SECONDS) public long incrementAndGet(long delta) throws IOException
CounterincrementAndGet in interface Counterdelta - Delta to add (can be zero or negative)IOException - If some I/O problemCopyright © 2014–2016 stateful.co. All rights reserved.