public class RedisJsonFuture<T> extends JsonFuture<T>
Modifier and Type | Field and Description |
---|---|
private RedisService |
svc |
Constructor and Description |
---|
RedisJsonFuture(Future<String> f,
Class<T> type,
RedisService svc) |
Modifier and Type | Method and Description |
---|---|
T |
get() |
static <T> T |
getSafe(Future<T> f,
RedisService svc) |
cancel, get, getType, getUnderlyingFuture, isCancelled, isDone
private final RedisService svc
public RedisJsonFuture(Future<String> f, Class<T> type, RedisService svc)
public static final <T> T getSafe(Future<T> f, RedisService svc) throws Lot49Exception
Lot49Exception
public T get() throws InterruptedException, ExecutionException
get
in interface Future<T>
get
in class JsonFuture<T>
InterruptedException
ExecutionException