org.ov4j.retry
Class RetryableCallResult
java.lang.Object
org.ov4j.retry.RetryableCallResult
public class RetryableCallResult
- extends java.lang.Object
This class holds information about the result of a retried call.
- Author:
- smolloy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RetryableCallResult
public RetryableCallResult(RetryableCall call,
java.lang.Object result,
java.lang.Object... args)
- Constructor.
- Parameters:
call
- The call which was retried.result
- The result of the call.
getArgs
public java.lang.Object[] getArgs()
- Returns:
- Returns the args.
getClassName
public java.lang.String getClassName()
- Returns:
- Returns the className.
getMethod
public java.lang.reflect.Method getMethod()
- Returns:
- Returns the method.
getNumRetries
public int getNumRetries()
- Returns:
- Returns the numRetries.
getResult
public java.lang.Object getResult()
- Returns:
- Returns the result.
setArgs
public void setArgs(java.lang.Object[] args)
- Parameters:
args
- The args to set.
setClassName
public void setClassName(java.lang.String className)
- Parameters:
className
- The className to set.
setMethod
public void setMethod(java.lang.reflect.Method method)
- Parameters:
method
- The method to set.
setNumRetries
public void setNumRetries(int numRetries)
- Parameters:
numRetries
- The numRetries to set.
setResult
public void setResult(java.lang.Object result)
- Parameters:
result
- The result to set.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2004-2007 Steve Molloy. All Rights Reserved.