public interface WriteListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(AerospikeException exception)
This method is called when an asynchronous write command fails.
|
void |
onSuccess(Key key)
This method is called when an asynchronous write command completes successfully.
|
void onSuccess(Key key)
key
- unique record identifiervoid onFailure(AerospikeException exception)
exception
- error that occurredCopyright ? 2012–2018 Aerospike, Inc. All rights reserved.