private void blockFaultLogWriteStatus(SettableFuture<Boolean> written) {
        boolean logWritten = false;

        if (written != null) {
            try {
                logWritten = written.get();
            } catch (InterruptedException e) {
            } catch (ExecutionException e) {
                if (tmLog.isDebugEnabled()) {
                    tmLog.debug("Could not determine fault log state for partition: " + m_partitionId, e);
                }
            }
            if (!logWritten) {
                tmLog.warn("Attempted fault log not written for partition: " + m_partitionId);
            }
        }
    }
private void blockFaultLogWriteStatus ( SettableFuture < Boolean > written ) { boolean logWritten = false ; if ( written != null ) { try { logWritten = written . get ( ) ; } catch ( InterruptedException e ) { } catch ( ExecutionException e ) { if ( tmLog . isDebugEnabled ( ) ) { tmLog . debug ( "Could not determine fault log state for partition: " + m_partitionId , e ) ; } } if ( ! logWritten ) { tmLog . warn ( "Attempted fault log not written for partition: " + m_partitionId ) ; } } }
Wait to get the status of a fault log write