public class RetryEvent extends EventObject
source| Constructor and Description |
|---|
RetryEvent(Object source,
RetryState state,
Exception cause)
Constructs a prototypical Event.
|
| Modifier and Type | Method and Description |
|---|---|
Exception |
getCause() |
int |
getRetryCount() |
long |
getRetryDelay() |
Object |
getSource() |
toStringpublic RetryEvent(Object source, RetryState state, Exception cause)
source - The object on which the Event initially occurred.state - the retry stateIllegalArgumentException - if source is null.public Object getSource()
getSource in class EventObjectpublic int getRetryCount()
public long getRetryDelay()
public Exception getCause()
Copyright © 2015. All rights reserved.