T - The type returned by this callback.public interface BucketCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInBucket()
Callback function.
|
T doInBucket() throws TimeoutException, ExecutionException, InterruptedException
TimeoutException - IN case of a timeout.ExecutionException - In case of an execution error.InterruptedException - In case of interruption during execution.Copyright © 2015–2019. All rights reserved.