use of com.aerospike.client.listener.ExistsSequenceListener in project aerospike-client-java by aerospike.
the class TestAsyncBatch method asyncBatchExistsSequence.
@Test
public void asyncBatchExistsSequence() throws Exception {
client.exists(eventLoop, new ExistsSequenceListener() {
public void onExists(Key key, boolean exists) {
assertEquals(true, exists);
}
public void onSuccess() {
notifyComplete();
}
public void onFailure(AerospikeException e) {
setError(e);
notifyComplete();
}
}, null, sendKeys);
waitTillComplete();
}
Aggregations