public interface RecordListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(AerospikeException exception)
This method is called when an asynchronous get or operate command fails.
|
void |
onSuccess(Key key,
Record record)
This method is called when an asynchronous get or operate command completes successfully.
|
void onSuccess(Key key, Record record)
key
- unique record identifierrecord
- record instance if found, otherwise nullvoid onFailure(AerospikeException exception)
exception
- error that occurredCopyright © 2012–2018 Aerospike, Inc. All rights reserved.