protected void delayForNfs(){
  if (nfsDelayMilliseconds > 0) {
    try {
      Thread.sleep(nfsDelayMilliseconds);
    }
 catch (    InterruptedException e) {
      throw new IllegalStateException("InterruptedException thrown when attempting to sleep for NFS delay.",e);
    }
  }
}

protected void delayForNfs ( ) { if ( nfsDelayMilliseconds > 0 ) { try { Thread . sleep ( nfsDelayMilliseconds ) ; } catch ( InterruptedException e ) { throw new IllegalStateException ( "InterruptedException thrown when attempting to sleep for NFS delay." , e ) ; } } }
this convenience method allows a delay to be called on a step implementation , with the duration of the delay determined by the nfsdelaymilliseconds bean property . < p / > this method has to be called explicitly from the execute method , so it is not called willy - nilly when not required .
