org.objectweb.dream.queue
Interface MissingSequenceNumber


public interface MissingSequenceNumber

Interface that can be used by a queue sorting messages according to a sequence number (i.e. a long) to indicate that sequence numbers are missing.


Field Summary
static String ITF_NAME
          The commonly used name to refer to this interface.
 
Method Summary
 void missingSequenceNumber(long snFrom, long snTo)
          This method is called to specify that messages ranging from snFrom to snTo are missing.
 void noLongerMissing(long sn)
          This method is called to specify that a sequence number is no longer missing.
 

Field Detail

ITF_NAME

static final String ITF_NAME
The commonly used name to refer to this interface.

See Also:
Constant Field Values
Method Detail

missingSequenceNumber

void missingSequenceNumber(long snFrom,
                           long snTo)
This method is called to specify that messages ranging from snFrom to snTo are missing.

Parameters:
snFrom - the first sequence number in sequence that is missing.
snTo - the last sequence number in sequence that is missing.

noLongerMissing

void noLongerMissing(long sn)
This method is called to specify that a sequence number is no longer missing.

Parameters:
sn - the sequence number that is no longer missing.


Copyright © 2003, 2005 - INRIA Rhone-Alpes - All Rights Reserved.