Class: PutPDU

PutPDU

new PutPDU(sequence, connectionID, clusterVersion, keyArg, chunkSize, tagArg, optionsArg) → {Kinetic}

Parameters:
Name Type Description
sequence number monotonically increasing number for each request in a TCP connection
connectionID number the connection ID received from the InitPDU
clusterVersion number the version of the cluster received from the InitPDU
keyArg Buffer key of the item to put.
chunkSize number size of the chunk to put.
tagArg Buffer the hash of the value to put.
optionsArg Object optional : {String} [options.synchronization = WRITEBACK] - to specify if the data must be written to disk immediately, or can be written in the future. {boolean} [options.force = null] - optional setting force to true ignores potential version mismatches and carries out the operation. {string} [options.algorithm] - algorithm used for the tag {Buffer} dbVersion - version of the item in the database {Buffer} newVersion - new version of the item to put
Source:
Returns:
- message structure following the kinetic protocol
Type
Kinetic