com.hazelcast.core
Class DistributedTask.Inner

java.lang.Object
  extended by com.hazelcast.core.DistributedTask.Inner
Enclosing class:
DistributedTask<V>

protected class DistributedTask.Inner
extends Object


Constructor Summary
DistributedTask.Inner(Callable<V> callable, Member member, Set<Member> members, Object key)
           
 
Method Summary
 boolean cancel(boolean mayInterruptIfRunning)
           
 void get()
           
 void get(long timeout, TimeUnit unit)
           
 Callable<V> getCallable()
           
 ExecutionCallback getExecutionCallback()
           
 Object getKey()
           
 Member getMember()
           
 Set<Member> getMembers()
           
 void innerDone()
           
 void innerSet(V value)
           
 void innerSetCancelled()
           
 void innerSetException(Throwable throwable, boolean done)
           
 void innerSetMemberLeft(Member member)
           
 boolean isDone()
           
 void setExecutionCallback(ExecutionCallback<V> executionCallback)
           
 void setExecutionManagerCallback(ExecutionManagerCallback executionManagerCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedTask.Inner

public DistributedTask.Inner(Callable<V> callable,
                             Member member,
                             Set<Member> members,
                             Object key)
Method Detail

get

public void get()
         throws InterruptedException,
                ExecutionException
Throws:
InterruptedException
ExecutionException

get

public void get(long timeout,
                TimeUnit unit)
         throws InterruptedException,
                ExecutionException,
                TimeoutException
Throws:
InterruptedException
ExecutionException
TimeoutException

innerDone

public void innerDone()

isDone

public boolean isDone()

innerSet

public void innerSet(V value)

innerSetException

public void innerSetException(Throwable throwable,
                              boolean done)

innerSetCancelled

public void innerSetCancelled()

innerSetMemberLeft

public void innerSetMemberLeft(Member member)

getCallable

public Callable<V> getCallable()

getKey

public Object getKey()

getMember

public Member getMember()

getMembers

public Set<Member> getMembers()

setExecutionManagerCallback

public void setExecutionManagerCallback(ExecutionManagerCallback executionManagerCallback)

cancel

public boolean cancel(boolean mayInterruptIfRunning)

getExecutionCallback

public ExecutionCallback getExecutionCallback()

setExecutionCallback

public void setExecutionCallback(ExecutionCallback<V> executionCallback)


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.