Package com.mongodb.async
Interface SingleResultCallback<T>
- Type Parameters:
T
- the result type
- All Known Implementing Classes:
ErrorHandlingResultCallback
Deprecated.
Prefer the Reactive Streams-based asynchronous driver (mongodb-driver-reactivestreams artifactId)
An interface to describe the completion of an asynchronous operation.
- Since:
- 3.0
-
Method Summary
-
Method Details
-
onResult
Deprecated.Called when the operation completes.- Parameters:
result
- the result, which may be null. Always null if e is not null.t
- the throwable, or null if the operation completed normally
-