protected class CacheSchematicDb.SchematicEntryProxyFuture extends Object implements org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry>
Modifier | Constructor and Description |
---|---|
protected |
CacheSchematicDb.SchematicEntryProxyFuture(org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> original,
String key,
boolean isRemoved) |
Modifier and Type | Method and Description |
---|---|
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
attachListener(org.infinispan.util.concurrent.FutureListener<SchematicEntry> listener) |
boolean |
cancel(boolean mayInterruptIfRunning) |
SchematicEntry |
get() |
SchematicEntry |
get(long timeout,
TimeUnit unit) |
boolean |
isCancelled() |
boolean |
isDone() |
protected CacheSchematicDb.SchematicEntryProxyFuture(org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> original, String key, boolean isRemoved)
public org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> attachListener(org.infinispan.util.concurrent.FutureListener<SchematicEntry> listener)
attachListener
in interface org.infinispan.util.concurrent.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.