protected class CacheSchematicDb.SchematicEntryProxyFuture extends Object implements NotifyingFuture<SchematicEntry>
Modifier | Constructor and Description |
---|---|
protected |
CacheSchematicDb.SchematicEntryProxyFuture(NotifyingFuture<SchematicEntry> original,
String key,
boolean isRemoved) |
Modifier and Type | Method and Description |
---|---|
NotifyingFuture<SchematicEntry> |
attachListener(FutureListener<SchematicEntry> listener) |
boolean |
cancel(boolean mayInterruptIfRunning) |
SchematicEntry |
get() |
SchematicEntry |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
protected CacheSchematicDb.SchematicEntryProxyFuture(NotifyingFuture<SchematicEntry> original, String key, boolean isRemoved)
public NotifyingFuture<SchematicEntry> attachListener(FutureListener<SchematicEntry> listener)
attachListener
in interface NotifyingFuture<SchematicEntry>
public boolean cancel(boolean mayInterruptIfRunning)
cancel
in interface Future<SchematicEntry>
public SchematicEntry get() throws InterruptedException, ExecutionException
get
in interface Future<SchematicEntry>
InterruptedException
ExecutionException
public SchematicEntry get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
get
in interface Future<SchematicEntry>
InterruptedException
ExecutionException
TimeoutException
public boolean isCancelled()
isCancelled
in interface Future<SchematicEntry>
public boolean isDone()
isDone
in interface Future<SchematicEntry>
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.