Interface AerospikeClientCallback<T>


public interface AerospikeClientCallback<T>
Callback to interact with the IAerospikeClient.
Author:
Oliver Gierke, Peter Milne
  • Method Summary

    Modifier and Type
    Method
    Description
    recordIterator(com.aerospike.client.IAerospikeClient client)
    Interact with the native IAerospikeClient and produce a records from it.
    resultIterator(com.aerospike.client.IAerospikeClient client)
    Interact with the native IAerospikeClient and produce a result from it.
  • Method Details

    • recordIterator

      T recordIterator(com.aerospike.client.IAerospikeClient client) throws com.aerospike.client.AerospikeException
      Interact with the native IAerospikeClient 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 native IAerospikeClient 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.