public interface BucketCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInBucket()
The enclosed body will be executed on the connected bucket.
|
T doInBucket() throws TimeoutException, ExecutionException, InterruptedException
TimeoutException - if the enclosed operation timed out.ExecutionException - if the result could not be retrieved because of a thrown exception before.InterruptedException - if the enclosed operation was interrupted.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.