public enum FDBLatencySource extends Enum<FDBLatencySource>
FDBDatabaseFactory.setLatencyInjector(Function)
.Enum Constant and Description |
---|
COMMIT_ASYNC
|
GET_READ_VERSION
|
Modifier and Type | Method and Description |
---|---|
StoreTimer.Event |
getTimerEvent()
Get the event used to track this latency source by
FDBStoreTimer s. |
static FDBLatencySource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FDBLatencySource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FDBLatencySource GET_READ_VERSION
public static final FDBLatencySource COMMIT_ASYNC
public static FDBLatencySource[] values()
for (FDBLatencySource c : FDBLatencySource.values()) System.out.println(c);
public static FDBLatencySource 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 null@Nonnull public StoreTimer.Event getTimerEvent()
FDBStoreTimer
s.