protected void arbitrationFinished(ArbitrationStatus arbitrationStatus, ArbitrationResult arbitrationResult) {
        this.arbitrationStatus = arbitrationStatus;
        this.arbitrationResult = arbitrationResult;

        // wait for arbitration listener to be registered
        if (arbitrationListenerSemaphore.tryAcquire()) {
            arbitrationListener.onSuccess(arbitrationResult);
            arbitrationListenerSemaphore.release();
        }
    }
protected void arbitrationFinished ( ArbitrationStatus arbitrationStatus , ArbitrationResult arbitrationResult ) { this . arbitrationStatus = arbitrationStatus ; this . arbitrationResult = arbitrationResult ; if ( arbitrationListenerSemaphore . tryAcquire ( ) ) { arbitrationListener . onSuccess ( arbitrationResult ) ; arbitrationListenerSemaphore . release ( ) ; } }
Sets the arbitration result at the arbitrationListener if the listener is already registered