|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.ws.rm.soap.RetransmissionQueueImpl.ResendCandidate
protected class RetransmissionQueueImpl.ResendCandidate
Represents a candidate for resend, i.e. an unacked outgoing message.
Constructor Summary | |
---|---|
protected |
RetransmissionQueueImpl.ResendCandidate(Message m)
|
Method Summary | |
---|---|
protected void |
attempted()
A resend has been attempted. |
protected void |
cancel()
Cancel further resend (although no ACK has been received). |
long |
getBackoff()
|
protected Message |
getMessage()
|
Date |
getNext()
|
long |
getNextInterval()
|
Date |
getPrevious()
|
int |
getResends()
|
protected void |
initiate(boolean requestAcknowledge)
Initiate resend asynchronsly. |
boolean |
isPending()
|
boolean |
isSuspended()
|
protected void |
resolved()
ACK has been received for this candidate. |
protected void |
resume()
|
void |
run()
|
protected void |
schedule()
|
protected void |
suspend()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RetransmissionQueueImpl.ResendCandidate(Message m)
ctx
- message context for the unacked messageMethod Detail |
---|
protected void initiate(boolean requestAcknowledge)
requestAcknowledge
- true if a AckRequest header is to be sent
with resendpublic void run()
run
in interface Runnable
public int getResends()
getResends
in interface RetransmissionStatus
public Date getNext()
getNext
in interface RetransmissionStatus
public Date getPrevious()
getPrevious
in interface RetransmissionStatus
public long getNextInterval()
getNextInterval
in interface RetransmissionStatus
public long getBackoff()
getBackoff
in interface RetransmissionStatus
public boolean isSuspended()
isSuspended
in interface RetransmissionStatus
public boolean isPending()
isPending
in interface RetransmissionStatus
protected void resolved()
protected void cancel()
protected void suspend()
protected void resume()
protected Message getMessage()
protected void attempted()
protected final void schedule()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |