public void fail ( Throwable ex ) { this . done = true ; if ( this . failureHandler != null ) { Callbacks . invokeSafely ( this . failureHandler , ex , cex -> log . error ( "Fail Callback invocation failure." , cex ) ) ; } }
Completes the operation with failure .