|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - public interface BulkFuture<V>
Additional flexibility for asyncGetBulk
This interface is now returned from all asyncGetBulk methods. Unlike
Future.get(long, TimeUnit), getSome(long, TimeUnit) does not throw
CheckedOperationTimeoutException, thus allowing retrieval of partial results
after timeout occurs. This behavior is especially useful in case of large
multi gets.
| Method Summary | |
|---|---|
V |
getSome(long timeout,
java.util.concurrent.TimeUnit unit)
Wait for the operation to complete and return results If operation could not complete within specified timeout, partial result is returned. |
OperationStatus |
getStatus()
Gets the status of the operation upon completion. |
boolean |
isTimeout()
|
| Methods inherited from interface java.util.concurrent.Future |
|---|
cancel, get, get, isCancelled, isDone |
| Method Detail |
|---|
boolean isTimeout()
V getSome(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
Future.get(long, TimeUnit)
timeout - unit -
java.lang.InterruptedException
java.util.concurrent.ExecutionExceptionOperationStatus getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||