public static class MongoDbTracer364.ScMongoSingleResultCallback364<T> extends MongoDbTracer.ScMongoSingleResultCallback<T> implements SingleResultCallback<T>
| Modifier and Type | Field and Description |
|---|---|
SingleResultCallback<T> |
inner |
command, id, namespace, payload, readPreference| Constructor and Description |
|---|
ScMongoSingleResultCallback364(StepTransferMap.ID id,
SingleResultCallback<T> callback,
Object namespace,
Object command,
Object readPreference,
List<org.bson.BsonDocument> payload) |
| Modifier and Type | Method and Description |
|---|---|
void |
onResult(T result,
Throwable t)
Called when the operation completes.
|
endMongoQuerySteppublic SingleResultCallback<T> inner
public ScMongoSingleResultCallback364(StepTransferMap.ID id, SingleResultCallback<T> callback, Object namespace, Object command, Object readPreference, List<org.bson.BsonDocument> payload)
public void onResult(T result, Throwable t)
SingleResultCallbackonResult in interface SingleResultCallback<T>result - the result, which may be null. Always null if e is not null.t - the throwable, or null if the operation completed normallyCopyright © 2021. All rights reserved.