Interface Timer

  • All Implemented Interfaces:
    java.io.Serializable

    
    public interface Timer
     implements Serializable
                        

    This interface defines those methods that must be implemented by timer plugins.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract long delay() This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.
      boolean isModifiable()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • delay

         abstract long delay()

        This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.

        Returns:

        the computed delay value.

      • isModifiable

         boolean isModifiable()
        Returns:

        true if factor can be applied to it