com.aerospike.client.listener
Interface ExistsSequenceListener


public interface ExistsSequenceListener

Asynchronous result notifications for batch exists commands. The results are sent one record at a time.


Method Summary
 void onExists(Key key, boolean exists)
          This method is called when an asynchronous batch exists result is received from the server.
 void onFailure(AerospikeException exception)
          This method is called when an asynchronous batch exists command fails.
 void onSuccess()
          This method is called when the asynchronous batch exists command completes.
 

Method Detail

onExists

void onExists(Key key,
              boolean exists)
This method is called when an asynchronous batch exists result is received from the server. The receive sequence is not ordered.

Parameters:
key - unique record identifier
exists - whether key exists on server

onSuccess

void onSuccess()
This method is called when the asynchronous batch exists command completes.


onFailure

void onFailure(AerospikeException exception)
This method is called when an asynchronous batch exists command fails.

Parameters:
exception - error that occurred


Copyright © 2012–2014 Aerospike, Inc. All rights reserved.