MappedUniqueTimeProvider
instead.@Deprecated public enum MappedUniqueMicroTimeProvider extends Enum<MappedUniqueMicroTimeProvider> implements net.openhft.chronicle.core.time.TimeProvider
Enum Constant and Description |
---|
INSTANCE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
currentTimeMicros()
Deprecated.
|
long |
currentTimeMillis()
Deprecated.
|
long |
currentTimeNanos()
Deprecated.
|
MappedUniqueMicroTimeProvider |
provider(net.openhft.chronicle.core.time.TimeProvider provider)
Deprecated.
|
static MappedUniqueMicroTimeProvider |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MappedUniqueMicroTimeProvider[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappedUniqueMicroTimeProvider INSTANCE
public static MappedUniqueMicroTimeProvider[] values()
for (MappedUniqueMicroTimeProvider c : MappedUniqueMicroTimeProvider.values()) System.out.println(c);
public static MappedUniqueMicroTimeProvider 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 MappedUniqueMicroTimeProvider provider(net.openhft.chronicle.core.time.TimeProvider provider)
public long currentTimeMillis()
currentTimeMillis
in interface net.openhft.chronicle.core.time.TimeProvider
public long currentTimeMicros() throws IllegalStateException
currentTimeMicros
in interface net.openhft.chronicle.core.time.TimeProvider
IllegalStateException
public long currentTimeNanos() throws IllegalStateException
currentTimeNanos
in interface net.openhft.chronicle.core.time.TimeProvider
IllegalStateException
Copyright © 2021. All rights reserved.