|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.AbstractSequentialList | +--java.util.LinkedList | +--concast.merged.MergeStateTable
Internal class
Inner Class Summary | |
class |
MergeStateTable.Entry
Record of the merge state table. |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
MergeStateTable(int limit)
|
Method Summary | |
boolean |
add(long key,
MergeState state)
|
MergeStateTable.Entry |
getEntry(long key)
Retrive entry for given tag |
MergeState |
getState(long key)
|
MergeStateTable.Entry |
newEntry(long key,
MergeState state,
byte ttl)
|
java.lang.String |
print()
|
boolean |
removeState(long key)
Remove record for given tag return true if it was found, false otherwise |
int |
size()
|
boolean |
update(long key,
MergeState state,
byte ttl)
update, or insert, if tag is not in the table |
Methods inherited from class java.util.LinkedList |
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, remove, remove, removeFirst, removeLast, set, toArray, toArray |
Methods inherited from class java.util.AbstractSequentialList |
iterator |
Methods inherited from class java.util.AbstractList |
equals, hashCode, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, isEmpty, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
public MergeStateTable(int limit)
Method Detail |
public MergeStateTable.Entry newEntry(long key, MergeState state, byte ttl)
public boolean update(long key, MergeState state, byte ttl)
public boolean add(long key, MergeState state)
public MergeStateTable.Entry getEntry(long key)
public boolean removeState(long key)
public MergeState getState(long key)
public java.lang.String print()
public int size()
size
in class java.util.LinkedList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |