AerospikeClient SetQuotas Method Aerospike
Set maximum reads/writes per second limits for a role. If a quota is zero, the limit is removed. Quotas require server security configuration "enable-quotas" to be set to true.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.7.0 (4.2.7)
Syntax

Parameters

policy
Type: Aerospike.Client AdminPolicy
admin configuration parameters, pass in null for defaults
roleName
Type: System String
role name
readQuota
Type: System Int32
maximum reads per second limit, pass in zero for no limit.
writeQuota
Type: System Int32
maximum writes per second limit, pass in zero for no limit.

Implements

IAerospikeClient SetQuotas(AdminPolicy, String, Int32, Int32)
Exceptions

See Also