public enum ScheduleType extends Enum<ScheduleType>
SecondsBasedEntryTaskScheduler
when a new entry is added
under already existing key.Enum Constant and Description |
---|
FOR_EACH
Always add a new entry even when there is one already scheduled under a given key.
|
POSTPONE
If there is an entry already scheduled under a given key then
the existing entry will be removed and a new one will be scheduled instead.
|
Modifier and Type | Method and Description |
---|---|
static ScheduleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleType POSTPONE
public static final ScheduleType FOR_EACH
public static ScheduleType[] values()
for (ScheduleType c : ScheduleType.values()) System.out.println(c);
public static ScheduleType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.