com.github.axet.wget
Class RetryWrap

java.lang.Object
  extended by com.github.axet.wget.RetryWrap

public class RetryWrap
extends Object


Nested Class Summary
static interface RetryWrap.Wrap
           
static interface RetryWrap.WrapReturn<T>
           
 
Field Summary
static int RETRY_DELAY
           
 
Constructor Summary
RetryWrap()
           
 
Method Summary
static
<T> T
run(AtomicBoolean stop, RetryWrap.WrapReturn<T> r)
           
static void wrap(AtomicBoolean stop, RetryWrap.Wrap r)
           
static
<T> T
wrap(AtomicBoolean stop, RetryWrap.WrapReturn<T> r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RETRY_DELAY

public static final int RETRY_DELAY
See Also:
Constant Field Values
Constructor Detail

RetryWrap

public RetryWrap()
Method Detail

run

public static <T> T run(AtomicBoolean stop,
                        RetryWrap.WrapReturn<T> r)

wrap

public static <T> T wrap(AtomicBoolean stop,
                         RetryWrap.WrapReturn<T> r)

wrap

public static void wrap(AtomicBoolean stop,
                        RetryWrap.Wrap r)


Copyright © 2012. All Rights Reserved.