public class SequenceFilter extends Object
Modifier and Type | Field and Description |
---|---|
int |
buffSize |
static int |
CUSTOM_BUFFER_SIZE |
Constructor and Description |
---|
SequenceFilter() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
isSet(long seqNumb) |
boolean |
onNextMessageReceived(long seqNum) |
void |
reset(long seqNum) |
boolean |
setAndCheck(long seqNumb)
Setting seqNumb existence to true.
|
public static final int CUSTOM_BUFFER_SIZE
public final int buffSize
public boolean onNextMessageReceived(long seqNum)
public boolean setAndCheck(long seqNumb)
seqNumb
- information from tag 34true | If we consume message with this seqNum before |
false | If this is not consumed message |
public boolean isSet(long seqNumb)
seqNumb
- information from tag 34public void clear()
public void reset(long seqNum)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.