Interface AerospikeClientCallback<T>
public interface AerospikeClientCallback<T>
Callback to interact with the
IAerospikeClient
.- Author:
- Oliver Gierke, Peter Milne
-
Method Summary
Modifier and TypeMethodDescriptionrecordIterator
(com.aerospike.client.IAerospikeClient client) Interact with the nativeIAerospikeClient
and produce a records from it.resultIterator
(com.aerospike.client.IAerospikeClient client) Interact with the nativeIAerospikeClient
and produce a result from it.
-
Method Details
-
recordIterator
T recordIterator(com.aerospike.client.IAerospikeClient client) throws com.aerospike.client.AerospikeException Interact with the nativeIAerospikeClient
and produce a records from it.- Parameters:
client
- will never be null.- Returns:
- Record iterator
- Throws:
com.aerospike.client.AerospikeException
- in case of encountering an error while interacting with IAerospikeClient an AerospikeException will be thrown.
-
resultIterator
T resultIterator(com.aerospike.client.IAerospikeClient client) throws com.aerospike.client.AerospikeException Interact with the nativeIAerospikeClient
and produce a result from it.- Parameters:
client
- will never be null.- Returns:
- Result iterator
- Throws:
com.aerospike.client.AerospikeException
- in case of encountering an error while interacting with IAerospikeClient an AerospikeException will be thrown.
-