com.pmease.quickbuild.util
Class BackoffCallable<T>

java.lang.Object
  extended by com.pmease.quickbuild.util.BackoffCallable<T>
All Implemented Interfaces:
java.util.concurrent.Callable<T>

public class BackoffCallable<T>
extends java.lang.Object
implements java.util.concurrent.Callable<T>


Constructor Summary
BackoffCallable(java.util.concurrent.Callable<T> delegate, long backoffTime, long giveupTime)
           
 
Method Summary
 T call()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackoffCallable

public BackoffCallable(java.util.concurrent.Callable<T> delegate,
                       long backoffTime,
                       long giveupTime)
Method Detail

call

public T call()
       throws java.lang.Exception
Specified by:
call in interface java.util.concurrent.Callable<T>
Throws:
java.lang.Exception


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.