protected final void onApplicationError(AerospikeException ae) { if (ae.keepConnection()) { // Put connection back in pool. complete(); } else { // Close socket to flush out possible garbage. fail(); } notifyFailure(ae); eventLoop.tryDelayQueue(); }
protected final void onApplicationError(AerospikeException ae) { if (ae.keepConnection()) { // Put connection back in pool. complete(); } else { // Close socket to flush out possible garbage. fail(); } notifyFailure(ae); eventLoop.tryDelayQueue(); }
protected final void onApplicationError(AerospikeException ae) { if (state == AsyncCommand.COMPLETE) { return; } if (ae.keepConnection()) { complete(); } else { // Close socket to flush out possible garbage. fail(); } notifyFailure(ae); eventLoop.tryDelayQueue(); }
protected final void onApplicationError(AerospikeException ae) { if (state == AsyncCommand.COMPLETE) { return; } if (ae.keepConnection()) { complete(); } else { // Close socket to flush out possible garbage. fail(); } notifyFailure(ae); eventLoop.tryDelayQueue(); }