final class SequenceEntry extends Object
Modifier and Type | Field and Description |
---|---|
private boolean |
keep |
private long |
sequenceNum |
Constructor and Description |
---|
SequenceEntry(long sequenceNum) |
SequenceEntry(long sequenceNum,
boolean strong) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
keep() |
(package private) boolean |
update(long seqNum,
boolean strong)
If the passed in sequence number is greater than the current number,
it is updated.
|
SequenceEntry(long sequenceNum)
SequenceEntry(long sequenceNum, boolean strong)
boolean update(long seqNum, boolean strong)
seqNum
- - passed in sequence number.strong
- - strong clean call is kept in the event of an update.boolean keep()
Copyright 2007-2016, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.