public void onSuccess ( T result ) { try { statusLock . lock ( ) ; value = result ; status = new RequestStatus ( RequestStatusCode . OK ) ; statusLockChangedCondition . signalAll ( ) ; } catch ( Exception e ) { status = new RequestStatus ( RequestStatusCode . ERROR ) ; exception = new JoynrRuntimeException ( e ) ; } finally { statusLock . unlock ( ) ; } }
Resolves the future using the given result