com.atlassian.jira.util
Class PeriodicClock
java.lang.Object
com.atlassian.jira.util.PeriodicClock
- All Implemented Interfaces:
- com.atlassian.core.util.Clock
public class PeriodicClock
- extends Object
- implements com.atlassian.core.util.Clock
A Clock
implementation that periodically increments the returned value.
- Since:
- v4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeriodicClock
public PeriodicClock(long intitialValue,
long increment,
int periodLength)
PeriodicClock
public PeriodicClock(long increment,
int periodLength)
PeriodicClock
public PeriodicClock(long increment)
getCurrentDate
public Date getCurrentDate()
- Specified by:
getCurrentDate
in interface com.atlassian.core.util.Clock
Copyright © 2002-2013 Atlassian. All Rights Reserved.