|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MissingSequenceNumberKeyBased
Interface that can be used by a queue sorting messages according to a
sequence number (i.e. a long) to specify that sequence numbers are missings.
For each method in this interface, a key
parameter is
specified. For instance, this allows specifying that sequence number
1
is missing for keys A
and B
.
Field Summary | |
---|---|
static String |
ITF_NAME
The commonly used name to refer to this interface. |
Method Summary | |
---|---|
void |
missingSequenceNumber(long snFrom,
long snTo,
Object key)
This method is called to specify that messages ranging from snFrom to snTo are missing for the given key. |
void |
noLongerMissing(long sn,
Object key)
This method is called to specify that a sequence number is no longer missing for the given key. |
Field Detail |
---|
static final String ITF_NAME
Method Detail |
---|
void missingSequenceNumber(long snFrom, long snTo, Object key)
snFrom
to snTo
are missing for the given key.
snFrom
- the first sequence number in sequence that is missing.snTo
- the last sequence number in sequence that is missing.key
- the key for which specified messages are missing.void noLongerMissing(long sn, Object key)
sn
- the sequence number that is no longer missing.key
- the key for which the specified message is no longer missing.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |