public interface CollectionCallback<T>
| Modifier and Type | Method and Description |
|---|---|
T |
doInCollection()
The enclosed body will be executed on the connected bucket.
|
T doInCollection() 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–2022 Pivotal Software, Inc.. All rights reserved.