final class CommandHelper
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
CommandHelper() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static BsonDocument |
executeCommand(java.lang.String database,
BsonDocument command,
ClusterClock clusterClock,
InternalConnection internalConnection) |
(package private) static BsonDocument |
executeCommand(java.lang.String database,
BsonDocument command,
InternalConnection internalConnection) |
(package private) static void |
executeCommandAsync(java.lang.String database,
BsonDocument command,
InternalConnection internalConnection,
SingleResultCallback<BsonDocument> callback) |
(package private) static BsonDocument |
executeCommandWithoutCheckingForFailure(java.lang.String database,
BsonDocument command,
InternalConnection internalConnection) |
private static CommandMessage |
getCommandMessage(java.lang.String database,
BsonDocument command,
InternalConnection internalConnection) |
(package private) static boolean |
isCommandOk(BsonDocument response) |
private static BsonDocument |
sendAndReceive(java.lang.String database,
BsonDocument command,
ClusterClock clusterClock,
InternalConnection internalConnection) |
static BsonDocument executeCommand(java.lang.String database, BsonDocument command, InternalConnection internalConnection)
static BsonDocument executeCommand(java.lang.String database, BsonDocument command, ClusterClock clusterClock, InternalConnection internalConnection)
static BsonDocument executeCommandWithoutCheckingForFailure(java.lang.String database, BsonDocument command, InternalConnection internalConnection)
static void executeCommandAsync(java.lang.String database,
BsonDocument command,
InternalConnection internalConnection,
SingleResultCallback<BsonDocument> callback)
static boolean isCommandOk(BsonDocument response)
private static BsonDocument sendAndReceive(java.lang.String database, BsonDocument command, ClusterClock clusterClock, InternalConnection internalConnection)
private static CommandMessage getCommandMessage(java.lang.String database, BsonDocument command, InternalConnection internalConnection)