Class Handle

    • Method Detail

      • runCallback

        public final void runCallback()
        Deprecated.
        Run the callback object. This will happen at the start of each invocation of a Handle's run() method. The callback is presumed to be exception safe. If no callback is set, this is a no-op. The callback will need to handle any necessary synchronization itself.
      • run

        public final void run()
        Deprecated.
        Run the callback object first, then invoke runHandle().
      • runHandle

        public abstract void runHandle()
        Deprecated.
        Invoke an action to be performed periodically for a statistics Handle.

        Synchronization has to be handled by the method itself.

      • cancel

        public final boolean cancel()
        Deprecated.
        Cancel this Handle and remove it from internal state in Statistics.
        Returns:
        value of java.util.TimerTask.cancel()
      • isCancelled

        public final boolean isCancelled()
        Deprecated.
        Returns whether this object has been cancelled or not.
        Returns:
        true if cancelled
      • equals

        public abstract boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public abstract int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object