Constructor and Description |
---|
QtCounter(Counter org,
Quota qta)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
increment(BigDecimal delta)
Add value to it.
|
void |
set(BigDecimal value)
Set specific value.
|
public void set(BigDecimal value) throws IOException
Counter
set
in interface Counter
value
- Value to setIOException
- If fails due to IO problempublic BigDecimal increment(BigDecimal delta) throws IOException
Counter
increment
in interface Counter
delta
- Delta to addIOException
- If fails due to IO problemCopyright © 2014–2015 teamed.io. All rights reserved.