protected class RedeliveryQueueImpl.RedeliverCandidate extends Object implements Runnable, RetryStatus
Modifier | Constructor and Description |
---|---|
protected |
RedeliverCandidate(Message m) |
Modifier and Type | Method and Description |
---|---|
protected void |
attempted()
A resend has been attempted.
|
protected void |
cancel()
Cancel further redelivery (although not successfully delivered).
|
long |
getBackoff() |
int |
getMaxRetries() |
protected Message |
getMessage() |
Date |
getNext() |
long |
getNextInterval() |
long |
getNumber() |
Date |
getPrevious() |
int |
getRetries() |
protected void |
initiate()
Initiate redelivery asynchronsly.
|
boolean |
isPending() |
boolean |
isSuspended() |
protected void |
resolved()
the message has been delivered to the application
|
protected void |
resume() |
void |
run() |
protected void |
schedule() |
protected void |
suspend() |
protected RedeliverCandidate(Message m)
protected void initiate()
public long getNumber()
public Date getNext()
getNext
in interface RetryStatus
public Date getPrevious()
getPrevious
in interface RetryStatus
public int getRetries()
getRetries
in interface RetryStatus
public int getMaxRetries()
getMaxRetries
in interface RetryStatus
public long getNextInterval()
getNextInterval
in interface RetryStatus
public long getBackoff()
getBackoff
in interface RetryStatus
public boolean isPending()
isPending
in interface RetryStatus
public boolean isSuspended()
isSuspended
in interface RetryStatus
protected void resolved()
protected void cancel()
protected void suspend()
protected void resume()
protected Message getMessage()
protected void attempted()
protected final void schedule()
Apache CXF