|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.util.BitArrayBin
public class BitArrayBin
Holder for many bitArrays - used for message audit
Constructor Summary | |
---|---|
BitArrayBin(int windowSize)
Create a BitArrayBin to a certain window size (number of messages to keep) |
Method Summary | |
---|---|
boolean |
getBit(long index)
Get the boolean value at the index |
long |
getLastSetIndex()
|
boolean |
isInOrder(long index)
Test if in order |
boolean |
setBit(long index,
boolean value)
Set a bit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BitArrayBin(int windowSize)
windowSize
- Method Detail |
---|
public boolean setBit(long index, boolean value)
index
- value
-
public boolean isInOrder(long index)
index
-
public boolean getBit(long index)
index
-
public long getLastSetIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |