@PublicEvolving public static enum PeriodicCacheReloadTrigger.ScheduleMode extends Enum<PeriodicCacheReloadTrigger.ScheduleMode>
and {@link
ScheduledExecutorService#scheduleAtFixedRate(Runnable, long, long, TimeUnit)}
.Enum Constant and Description |
---|
FIXED_DELAY |
FIXED_RATE |
Modifier and Type | Method and Description |
---|---|
static PeriodicCacheReloadTrigger.ScheduleMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodicCacheReloadTrigger.ScheduleMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodicCacheReloadTrigger.ScheduleMode FIXED_DELAY
public static final PeriodicCacheReloadTrigger.ScheduleMode FIXED_RATE
public static PeriodicCacheReloadTrigger.ScheduleMode[] values()
for (PeriodicCacheReloadTrigger.ScheduleMode c : PeriodicCacheReloadTrigger.ScheduleMode.values()) System.out.println(c);
public static PeriodicCacheReloadTrigger.ScheduleMode 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 © 2014–2024 The Apache Software Foundation. All rights reserved.