public class VerboseResult<T> extends Object implements ComparableByContent<VerboseResult<?>>
VerboseBucket and AsyncVerboseBucket.| Modifier and Type | Class and Description |
|---|---|
static interface |
VerboseResult.Diagnostics
Describer of internal bucket state
|
| Constructor and Description |
|---|
VerboseResult(long operationTimeNanos,
T value,
BucketState state) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsByContent(VerboseResult<?> other) |
BucketConfiguration |
getConfiguration() |
VerboseResult.Diagnostics |
getDiagnostics() |
long |
getOperationTimeNanos() |
BucketState |
getState() |
T |
getValue() |
<R> VerboseResult<R> |
map(Function<T,R> mapper) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic VerboseResult(long operationTimeNanos,
T value,
BucketState state)
public T getValue()
public BucketConfiguration getConfiguration()
public BucketState getState()
public long getOperationTimeNanos()
public VerboseResult.Diagnostics getDiagnostics()
public <R> VerboseResult<R> map(Function<T,R> mapper)
public boolean equalsByContent(VerboseResult<?> other)
equalsByContent in interface ComparableByContent<VerboseResult<?>>Copyright © 2024. All rights reserved.