 | QdbBatchBlob.GetAndUpdate Method |
Adds a "getAndUpdate" operation to the batch: "Atomically reads and replaces (in this order) the content of blob."
Namespace:
Quasardb
Assembly:
Quasardb (in Quasardb.dll) Version: 3.10.2.0 (3.10.2.0)
Syntaxpublic IQdbFuture<byte[]> GetAndUpdate(
byte[] newContent,
DateTime? expiryTime = null
)
Public Function GetAndUpdate (
newContent As Byte(),
Optional expiryTime As DateTime? = Nothing
) As IQdbFuture(Of Byte())
Parameters
- newContent
- Type:System.Byte[]
The content of the blob to be set, before being replaced. - expiryTime (Optional)
- Type: System.Nullable<DateTime>
The new expiry time of the blob.
Return Value
Type:
IQdbFuture<Byte[]>A future that will contain the result of the operation after the batch is run.
See Also