Package com.mongodb.async
Interface SingleResultCallback<T>
-
- Type Parameters:
T
- the result type
@Deprecated public interface SingleResultCallback<T>
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
onResult(T result, Throwable t)
Deprecated.Called when the operation completes.
-