|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RetransmissionQueue
Field Summary | |
---|---|
static String |
DEFAULT_BASE_RETRANSMISSION_INTERVAL
|
static int |
DEFAULT_EXPONENTIAL_BACKOFF
|
Method Summary | |
---|---|
void |
addUnacknowledged(Message message)
Accepts a new message for possible future retransmission. |
int |
countUnacknowledged()
|
int |
countUnacknowledged(SourceSequence seq)
|
RetryStatus |
getRetransmissionStatus(SourceSequence seq,
long num)
Returns the retransmission status for the specified message. |
Map<Long,RetryStatus> |
getRetransmissionStatuses(SourceSequence seq)
Return the retransmission status of all the messages assigned to the sequence. |
List<Long> |
getUnacknowledgedMessageNumbers(SourceSequence seq)
|
boolean |
isEmpty()
|
void |
purgeAcknowledged(SourceSequence seq)
Purge all candidates for the given sequence that have been acknowledged. |
void |
resume(SourceSequence seq)
Resumes the retransmission attempts for the specified sequence |
void |
start()
Initiate resends. |
void |
stop(SourceSequence seq)
Stops retransmission queue. |
void |
suspend(SourceSequence seq)
Suspends the retransmission attempts for the specified sequence |
Field Detail |
---|
static final String DEFAULT_BASE_RETRANSMISSION_INTERVAL
static final int DEFAULT_EXPONENTIAL_BACKOFF
Method Detail |
---|
int countUnacknowledged(SourceSequence seq)
seq
- the sequence under consideration
int countUnacknowledged()
boolean isEmpty()
void addUnacknowledged(Message message)
message
- the message context.void purgeAcknowledged(SourceSequence seq)
seq
- the sequence object.List<Long> getUnacknowledgedMessageNumbers(SourceSequence seq)
seq
-
RetryStatus getRetransmissionStatus(SourceSequence seq, long num)
seq
- num
-
Map<Long,RetryStatus> getRetransmissionStatuses(SourceSequence seq)
seq
-
void start()
void stop(SourceSequence seq)
seq
- void suspend(SourceSequence seq)
seq
- void resume(SourceSequence seq)
seq
-
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |