class KillCursorsMessage extends RequestMessage
RequestMessage.EncodingMetadata, RequestMessage.OpCode| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Long> |
cursors |
REQUEST_ID| Constructor and Description |
|---|
KillCursorsMessage(java.util.List<java.lang.Long> cursors)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected RequestMessage |
encodeMessageBody(BsonOutput bsonOutput,
int messageStartPosition)
Encode the message body to the given output.
|
protected RequestMessage.EncodingMetadata |
encodeMessageBodyWithMetadata(BsonOutput bsonOutput,
int messageStartPosition)
Encode the message body to the given output.
|
private void |
writeKillCursorsPrologue(int numCursors,
BsonOutput bsonOutput) |
addCollectibleDocument, addDocument, backpatchMessageLength, encode, encodeWithMetadata, getCodec, getCollectionName, getCurrentGlobalId, getId, getNamespace, getOpCode, getSettings, writeMessageProloguepublic KillCursorsMessage(java.util.List<java.lang.Long> cursors)
cursors - the list of cursors to killprotected RequestMessage encodeMessageBody(BsonOutput bsonOutput, int messageStartPosition)
RequestMessageencodeMessageBody in class RequestMessagebsonOutput - the outputmessageStartPosition - the start position of the messageprotected RequestMessage.EncodingMetadata encodeMessageBodyWithMetadata(BsonOutput bsonOutput, int messageStartPosition)
RequestMessageencodeMessageBodyWithMetadata in class RequestMessagebsonOutput - the outputmessageStartPosition - the start position of the messageprivate void writeKillCursorsPrologue(int numCursors,
BsonOutput bsonOutput)