Read record generation and expiration only for specified key. Bins are not read.
If found, return record instance. If not found, return null.
The policy can be used to specify timeouts.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.0.2.0 (4.0.2)
Syntax
Parameters
- policy
- Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
- key
- Type: Aerospike.Client Key
unique record identifier
Implements
IAerospikeClient GetHeader(Policy, Key)Exceptions
Exception | Condition |
---|---|
Aerospike.Client AerospikeException | if read fails |
See Also