public interface Schedulable
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
long |
schedule(long time)
Returns the next scheduled date in milliseconds since the
epoch, or 0 if there will be no more dates to be scheduled.
|
long schedule(long time)
time - the current time in milliseconds since the epoch