Package org.terracotta.angela.agent.com
Class IgniteFutureAdapter<V>
- java.lang.Object
-
- org.terracotta.angela.agent.com.IgniteFutureAdapter<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIgniteFutureAdapter.RemoteExecutionException
-
Constructor Summary
Constructors Constructor Description IgniteFutureAdapter(AgentID agentID, org.apache.ignite.lang.IgniteFuture<V> igniteFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Vget()Vget(long timeout, TimeUnit unit)AgentIDgetAgentID()booleanisCancelled()booleanisDone()
-
-
-
Method Detail
-
getAgentID
public AgentID getAgentID()
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<V>
-
get
public V get() throws InterruptedException, ExecutionException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionException
-
get
public V get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
- Specified by:
getin interfaceFuture<V>- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
-