[Missing <summary> documentation for "T:Aerospike.Client.KVS.BackgroundExecutePolicy"]
public sealed class BackgroundExecutePolicy : IMessage<BackgroundExecutePolicy>,
IMessage, IEquatable<BackgroundExecutePolicy>, IDeepCloneable<BackgroundExecutePolicy>,
IBufferMessage
BackgroundExecutePolicy | Initializes a new instance of the BackgroundExecutePolicy class |
BackgroundExecutePolicy(BackgroundExecutePolicy) | Initializes a new instance of the BackgroundExecutePolicy class |
CommitLevel | Desired consistency guarantee when committing a transaction on the server. The default (COMMIT_ALL) indicates that the server should wait for master and all replica commits to be successful before returning success to the client. Default: CommitLevel.COMMIT_ALL |
Compress | Use zlib compression on command buffers sent to the server and responses received from the server when the buffer size is greater than 128 bytes. This option will increase cpu and memory usage (for extra compressed buffers),but decrease the size of data sent over the network. |
Descriptor | |
DurableDelete | If the transaction results in a record deletion, leave a tombstone for the record. This prevents deleted records from reappearing after node failures. Valid for Aerospike Server Enterprise Edition 3.10+ only. Default: false (do not tombstone deleted records). |
Expiration | Record expiration. Also known as ttl (time to live). Seconds record will live before being removed by the server. Expiration values: - -2: Do not change ttl when record is updated. - -1: Never expire. - 0: Default to namespace configuration variable "default-ttl" on the server. - > 0: Actual ttl in seconds.<br> Default: 0 |
Expression | Optional expression filter. If filterExp exists and evaluates to false, the transaction is ignored. |
Generation | Expected generation. Generation is the number of times a record has been modified (including creation) on the server. If a write operation is creating a record, the expected generation would be <code>0</code>. This field is only relevant when generationPolicy is not NONE. The server does not support this field for UDF execute() calls. The read-modify-write usage model can still be enforced inside the UDF code itself. Default: 0 |
GenerationPolicy | Qualify how to handle record writes based on record generation. The default (NONE) indicates that the generation is not used to restrict writes. The server does not support this field for UDF execute() calls. The read-modify-write usage model can still be enforced inside the UDF code itself. Default: GenerationPolicy.NONE |
HasCommitLevel | Gets whether the "commitLevel" field is set |
HasDurableDelete | Gets whether the "durableDelete" field is set |
HasExpiration | Gets whether the "expiration" field is set |
HasExpression | Gets whether the "expression" field is set |
HasGeneration | Gets whether the "generation" field is set |
HasGenerationPolicy | Gets whether the "generationPolicy" field is set |
HasRecordExistsAction | Gets whether the "recordExistsAction" field is set |
HasRespondAllOps | Gets whether the "respondAllOps" field is set |
HasSendKey | Gets whether the "sendKey" field is set |
HasTotalTimeout | Gets whether the "totalTimeout" field is set |
HasXdr | Gets whether the "xdr" field is set |
Parser | |
ReadModeAP | Read policy for SC (strong consistency) namespaces. |
ReadModeSC | Replica algorithm used to determine the target node for a single record command. Scan and scan are not affected by replica algorithms. |
RecordExistsAction | Qualify how to handle writes where the record already exists. Default: RecordExistsAction.UPDATE |
Replica | Read policy for AP (availability) namespaces. |
RespondAllOps | For client operate(), return a result for every operation. Some operations do not return results by default (ListOperation.clear() for example). This can make it difficult to determine the desired result offset in the returned bin's result list. Setting respondAllOps to true makes it easier to identify the desired result offset (result offset equals bin's operate sequence). If there is a map operation in operate(), respondAllOps will be forced to true for that operate() call. Default: false |
SendKey | Send user defined key in addition to hash digest on both reads and writes. If the key is sent on a write, the key will be stored with the record on the server. <p> Default: false (do not send the user defined key) |
TotalTimeout | Total transaction timeout in milliseconds. Default for all other commands: 1000ms |
Xdr | Operate in XDR mode. Some external connectors may need to emulate an XDR client. If enabled, an XDR bit is set for writes in the wire protocol. Default: false. |
CalculateSize | |
ClearCommitLevel | Clears the value of the "commitLevel" field |
ClearDurableDelete | Clears the value of the "durableDelete" field |
ClearExpiration | Clears the value of the "expiration" field |
ClearExpression | Clears the value of the "expression" field |
ClearGeneration | Clears the value of the "generation" field |
ClearGenerationPolicy | Clears the value of the "generationPolicy" field |
ClearRecordExistsAction | Clears the value of the "recordExistsAction" field |
ClearRespondAllOps | Clears the value of the "respondAllOps" field |
ClearSendKey | Clears the value of the "sendKey" field |
ClearTotalTimeout | Clears the value of the "totalTimeout" field |
ClearXdr | Clears the value of the "xdr" field |
Clone | |
Equals(BackgroundExecutePolicy) | |
Equals(Object) | (Overrides ObjectEquals(Object)) |
GetHashCode | (Overrides ObjectGetHashCode) |
MergeFrom(BackgroundExecutePolicy) | |
MergeFrom(CodedInputStream) | |
ToString | (Overrides ObjectToString) |
WriteTo |
CommitLevelFieldNumber | Field number for the "commitLevel" field. |
CompressFieldNumber | Field number for the "compress" field. |
DurableDeleteFieldNumber | Field number for the "durableDelete" field. |
ExpirationFieldNumber | Field number for the "expiration" field. |
ExpressionFieldNumber | Field number for the "expression" field. |
GenerationFieldNumber | Field number for the "generation" field. |
GenerationPolicyFieldNumber | Field number for the "generationPolicy" field. |
ReadModeAPFieldNumber | Field number for the "readModeAP" field. |
ReadModeSCFieldNumber | Field number for the "readModeSC" field. |
RecordExistsActionFieldNumber | Field number for the "recordExistsAction" field. |
ReplicaFieldNumber | Field number for the "replica" field. |
RespondAllOpsFieldNumber | Field number for the "respondAllOps" field. |
SendKeyFieldNumber | Field number for the "sendKey" field. |
TotalTimeoutFieldNumber | Field number for the "totalTimeout" field. |
XdrFieldNumber | Field number for the "xdr" field. |