public class VerboseResult<T extends Serializable> extends Object implements Serializable
VerboseBucket
and AsyncVerboseBucket
.Modifier and Type | Field and Description |
---|---|
static SerializationHandle<VerboseResult<?>> |
SERIALIZATION_HANDLE |
Constructor and Description |
---|
VerboseResult(long operationTimeNanos,
T value,
BucketConfiguration configuration,
BucketState state) |
Modifier and Type | Method and Description |
---|---|
BucketConfiguration |
getConfiguration() |
long |
getOperationTimeNanos() |
BucketState |
getState() |
T |
getValue() |
<R extends Serializable> |
map(Function<T,R> mapper) |
public static SerializationHandle<VerboseResult<?>> SERIALIZATION_HANDLE
public VerboseResult(long operationTimeNanos, T value, BucketConfiguration configuration, BucketState state)
public T getValue()
public BucketConfiguration getConfiguration()
public BucketState getState()
public long getOperationTimeNanos()
public <R extends Serializable> VerboseResult<R> map(Function<T,R> mapper)
Copyright © 2020. All rights reserved.