@PublicEvolving public static enum IntervalFreshness.TimeUnit extends Enum<IntervalFreshness.TimeUnit>
Modifier and Type | Method and Description |
---|---|
static IntervalFreshness.TimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntervalFreshness.TimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntervalFreshness.TimeUnit SECOND
public static final IntervalFreshness.TimeUnit MINUTE
public static final IntervalFreshness.TimeUnit HOUR
public static final IntervalFreshness.TimeUnit DAY
public static IntervalFreshness.TimeUnit[] values()
for (IntervalFreshness.TimeUnit c : IntervalFreshness.TimeUnit.values()) System.out.println(c);
public static IntervalFreshness.TimeUnit 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.