void function ( Throwable arg0 ) { synchronized ( this . mutex ) { this . state = State . FAILURE ; this . result = arg0 ; while ( ! this . failureCallbacks . isEmpty ( ) ) { this . failureCallbacks . poll ( ) . onFailure ( arg0 ) ; } } }
trigger a listenablefuturecallback #onfailure throwable call on alladded callbacks with the given throwable . concode_field_sep Object mutex concode_elem_sep Queue<SuccessCallback<? super T>> successCallbacks concode_elem_sep Queue<FailureCallback> failureCallbacks concode_elem_sep State state concode_elem_sep Object result concode_field_sep void addSuccessCallback concode_elem_sep void success concode_elem_sep void addFailureCallback concode_elem_sep void addCallback