AsyncCompletionHandler (driver-core 5.5.0 API) (original) (raw)

Type Parameters:

T - the type of a successful completion


public interface AsyncCompletionHandler

Completion handler for asynchronous I/O.

Since:

3.0

default com.mongodb.internal.async.SingleResultCallback<[T](AsyncCompletionHandler.html "type parameter in AsyncCompletionHandler")>
void
Invoked when an operation has completed.
void
Invoked when an operation fails.