public class CacheGetResult<V> extends CacheResult
| Modifier and Type | Field and Description |
|---|---|
static CacheGetResult |
EXPIRED_WITHOUT_MSG |
static CacheGetResult |
NOT_EXISTS_WITHOUT_MSG |
EXISTS_WITHOUT_MSG, FAIL_ILLEGAL_ARGUMENT, FAIL_WITHOUT_MSG, MSG_ILLEGAL_ARGUMENT, PART_SUCCESS_WITHOUT_MSG, SUCCESS_WITHOUT_MSG| Constructor and Description |
|---|
CacheGetResult(CacheResultCode resultCode,
String message,
CacheValueHolder<V> holder) |
CacheGetResult(CompletionStage<ResultData> future) |
CacheGetResult(Throwable ex) |
| Modifier and Type | Method and Description |
|---|---|
V |
getValue() |
future, getMessage, getResultCode, isSuccess, setDefaultTimeout, setTimeout, waitForResultpublic static final CacheGetResult NOT_EXISTS_WITHOUT_MSG
public static final CacheGetResult EXPIRED_WITHOUT_MSG
public CacheGetResult(CacheResultCode resultCode, String message, CacheValueHolder<V> holder)
public CacheGetResult(CompletionStage<ResultData> future)
public CacheGetResult(Throwable ex)
public V getValue()
Copyright © 2013–2022. All rights reserved.