Interface CollectionCallback<T>
public interface CollectionCallback<T>
Defines the callback which will be wrapped and executed on a bucket.
- Author:
- Michael Nitschinger
-
Method Summary
Modifier and TypeMethodDescriptionThe enclosed body will be executed on the connected bucket.
-
Method Details
-
doInCollection
The enclosed body will be executed on the connected bucket.- Returns:
- the result of the enclosed execution.
- Throws:
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.
-