Class CounterProcessor


  • public class CounterProcessor
    extends Object
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    • 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 counter
        now - The current server time.
        Returns:
        Whether the reset condition for the counter is met.