Package de.xima.fc.counter
Class CounterProcessor
- java.lang.Object
-
- de.xima.fc.counter.CounterProcessor
-
public class CounterProcessor extends Object
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
setCounterValue(ClientCounter counter, long targetValue)
Checks, if the possible target counter value can be set, with the current condition parameters.
-
-
-
Method Detail
-
setCounterValue
public static boolean setCounterValue(ClientCounter counter, long targetValue)
Checks, if the possible target counter value can be set, with the current condition parameters.- Parameters:
counter
- The counter to process.targetValue
- The new target value for the counternow
- The current server time.- Returns:
- Whether the reset condition for the counter is met.
-
-