|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.exist.util.hashtable.AbstractHashtable
org.exist.util.hashtable.Int2ObjectHashMap
org.exist.storage.lock.LockedDocumentMap
public class LockedDocumentMap
This map is used by the XQuery engine to track how many read locks were acquired for a document during query execution.
| Constructor Summary | |
|---|---|
LockedDocumentMap()
|
|
| Method Summary | |
|---|---|
void |
add(DocumentImpl doc)
|
DocumentSet |
getDocsByCollection(Collection collection,
boolean includeSubColls,
MutableDocumentSet targetSet)
|
MutableDocumentSet |
toDocumentSet()
|
void |
unlock()
|
LockedDocumentMap |
unlockSome(DocumentSet keep)
|
| Methods inherited from class org.exist.util.hashtable.Int2ObjectHashMap |
|---|
clear, containsKey, get, iterator, put, remove, valueIterator |
| Methods inherited from class org.exist.util.hashtable.AbstractHashtable |
|---|
getMaxRehash, isPrime, nextPrime, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LockedDocumentMap()
| Method Detail |
|---|
public void add(DocumentImpl doc)
public MutableDocumentSet toDocumentSet()
public DocumentSet getDocsByCollection(Collection collection,
boolean includeSubColls,
MutableDocumentSet targetSet)
public void unlock()
public LockedDocumentMap unlockSome(DocumentSet keep)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||