com.aerospike.client.listener
Interface ExistsArrayListener


public interface ExistsArrayListener

Asynchronous result notifications for batch exists commands. The result is sent in a single array.


Method Summary
 void onFailure(AerospikeException exception)
          This method is called when an asynchronous exists command fails.
 void onSuccess(Key[] keys, boolean[] exists)
          This method is called when an asynchronous batch exists command completes successfully.
 

Method Detail

onSuccess

void onSuccess(Key[] keys,
               boolean[] exists)
This method is called when an asynchronous batch exists command completes successfully. The returned boolean array is in positional order with the original key array order.

Parameters:
keys - unique record identifiers
exists - whether keys exists on server

onFailure

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

Parameters:
exception - error that occurred


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