public enum ClusterTimeUnit extends Enum<ClusterTimeUnit>
| Enum Constant and Description |
|---|
MICROS
Time unit of microseconds for timestamps.
|
MILLIS
Time unit of milliseconds for timestamps.
|
NANOS
Time unit of nanoseconds for timestamps.
|
NULL_VAL
To be used to represent not present or null.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterTimeUnit |
get(int value)
Lookup the enum value representing the value.
|
int |
value()
The raw encoded value in the Java type representation.
|
static ClusterTimeUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterTimeUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterTimeUnit MILLIS
public static final ClusterTimeUnit MICROS
public static final ClusterTimeUnit NANOS
public static final ClusterTimeUnit NULL_VAL
public static ClusterTimeUnit[] values()
for (ClusterTimeUnit c : ClusterTimeUnit.values()) System.out.println(c);
public static ClusterTimeUnit 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 nullpublic int value()
public static ClusterTimeUnit get(int value)
value - encoded to be looked up.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.