Package net.sf.sstk.retry.cleanup

Examples of net.sf.sstk.retry.cleanup.SimpleWaitStrategy


   */
  private CleanUpStrategy getWaitStrategy(final String cleanUpStrategy) {
    if (cleanUpStrategy.startsWith(Retry.WAIT)) {
      final long wait = Long.parseLong(StringUtils.substringAfter(
          cleanUpStrategy, Retry.WAIT));
      return new SimpleWaitStrategy(wait);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of net.sf.sstk.retry.cleanup.SimpleWaitStrategy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.