public interface RebalanceOperation
Cache.| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel()
Cancels this rebalance operation.
|
RebalanceResults |
getResults()
Wait for this operation to complete and return the results.
|
RebalanceResults |
getResults(long timeout,
java.util.concurrent.TimeUnit unit)
Wait for this operation to complete and return the results.
|
boolean |
isCancelled()
Returns true if this operation was cancelled before it completed.
|
boolean |
isDone()
Returns true if this operation completed.
|
boolean isCancelled()
boolean isDone()
boolean cancel()
RebalanceResults getResults() throws java.util.concurrent.CancellationException, java.lang.InterruptedException
java.util.concurrent.CancellationException - if the operation was cancelledjava.lang.InterruptedException - if the wait was interruptedRebalanceResults getResults(long timeout, java.util.concurrent.TimeUnit unit) throws java.util.concurrent.CancellationException, java.util.concurrent.TimeoutException, java.lang.InterruptedException
timeout - the maximum time to waitunit - the time unit of the timeout argumentjava.util.concurrent.CancellationException - if the operation was cancelledjava.util.concurrent.TimeoutException - if the wait timed outjava.lang.InterruptedException - if the wait was interrupted