|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.persistence.util.LRUNodeIdCache
public class LRUNodeIdCache
Implements a LRU NodeId cache.
| Constructor Summary | |
|---|---|
LRUNodeIdCache()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clears this cache. |
boolean |
contains(NodeId id)
Checks if the given id is contained in this cached. |
void |
put(NodeId id)
Puts the given id to this cache. |
boolean |
remove(NodeId id)
Removes the it to this cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LRUNodeIdCache()
| Method Detail |
|---|
public boolean contains(NodeId id)
id - the id to check
true if the id is cached;
false otherwise.public void put(NodeId id)
id - the id to put.public boolean remove(NodeId id)
id - the id to remove
true if the id was cached;
false otherwise.public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||