public enum VirtualTimeRepeatKind extends java.lang.Enum<VirtualTimeRepeatKind>
VirtualTimeScheduler and VirtualTimeFuture to determine if and how the scheduled
job should be repeated.| Enum Constant and Description |
|---|
DELAY
Reschedule at the same interval, after the action completes.
|
NONE
Single time execution only.
|
RATE
Reschedule at the same interval, when the action starts.
|
| Modifier and Type | Method and Description |
|---|---|
static VirtualTimeRepeatKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VirtualTimeRepeatKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualTimeRepeatKind NONE
public static final VirtualTimeRepeatKind RATE
public static final VirtualTimeRepeatKind DELAY
public static VirtualTimeRepeatKind[] values()
for (VirtualTimeRepeatKind c : VirtualTimeRepeatKind.values()) System.out.println(c);
public static VirtualTimeRepeatKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null