Interface TimestampTallyInterface

    • Method Detail

      • isActive

        boolean isActive()
        Return whether the statistic is active (accepting observations) or not.
        Returns:
        boolean; whether the statistic is active (accepting observations) or not
      • endObservations

        void endObservations​(Number timestamp)
        End the observations and closes the last interval of observations. After ending, no more observations will be accepted. Calling this method will create an extra observation, and corresponding events for the EventBased implementations of this interface will be called.
        Parameters:
        timestamp - Number; the Number object representing the final timestamp
      • endObservations

        void endObservations​(Calendar timestamp)
        End the observations and closes the last interval of observations. After ending, no more observations will be accepted. Calling this method will create an extra observation, and corresponding events for the EventBased implementations of this interface will be called.
        Parameters:
        timestamp - Calendar; the Calendar object representing the final timestamp