Class GridDhtFinishedFuture<T>
- java.lang.Object
-
- org.apache.ignite.internal.util.future.GridFinishedFuture<T>
-
- org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtFinishedFuture<T>
-
- All Implemented Interfaces:
IgniteInternalFuture<T>,GridDhtFuture<T>
public class GridDhtFinishedFuture<T> extends GridFinishedFuture<T> implements GridDhtFuture<T>
Finished DHT future.
-
-
Constructor Summary
Constructors Constructor Description GridDhtFinishedFuture(Throwable err)GridDhtFinishedFuture(T t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Integer>invalidPartitions()Node that future should be able to provide keys to retry before it completes, so it's not necessary to wait till future is done to get retry keys.StringtoString()-
Methods inherited from class org.apache.ignite.internal.util.future.GridFinishedFuture
cancel, chain, chain, chain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, listen, result
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.IgniteInternalFuture
cancel, chain, chain, chain, chain, chainCompose, chainCompose, error, get, get, get, getUninterruptibly, isCancelled, isDone, listen, listen, result
-
-
-
-
Method Detail
-
invalidPartitions
public Collection<Integer> invalidPartitions()
Node that future should be able to provide keys to retry before it completes, so it's not necessary to wait till future is done to get retry keys.- Specified by:
invalidPartitionsin interfaceGridDhtFuture<T>- Returns:
- Keys to retry because this node is no longer a primary or backup.
-
toString
public String toString()
- Overrides:
toStringin classGridFinishedFuture<T>
-
-