Class PeriodicClock

java.lang.Object
com.atlassian.jira.util.PeriodicClock
All Implemented Interfaces:
com.atlassian.core.util.Clock

@Deprecated public class PeriodicClock extends Object implements com.atlassian.core.util.Clock
Deprecated.
Use Clock instead
A Clock implementation that periodically increments the returned value.
Since:
v4.3
  • Constructor Details

    • PeriodicClock

      public PeriodicClock(long intitialValue, long increment, int periodLength)
      Deprecated.
    • PeriodicClock

      public PeriodicClock(long increment, int periodLength)
      Deprecated.
    • PeriodicClock

      public PeriodicClock(long increment)
      Deprecated.
  • Method Details

    • getCurrentDate

      public Date getCurrentDate()
      Deprecated.
      Specified by:
      getCurrentDate in interface com.atlassian.core.util.Clock