Package com.mongodb.connection
Interface AsyncCompletionHandler<T>
-
- Type Parameters:
T
- the type of a successful completion
public interface AsyncCompletionHandler<T>
Completion handler for asynchronous I/O.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
completed(T t)
Invoked when an operation has completed.void
failed(Throwable t)
Invoked when an operation fails.
-