org.exist.collections
Class CollectionCache
java.lang.Object
org.exist.collections.CollectionCache
- public class CollectionCache
- extends java.lang.Object
Field Summary |
static int |
BUFFER_SIZE
|
protected int |
buffers
|
protected int |
fails
|
protected int |
hits
|
protected it.unimi.dsi.fastutil.Object2ObjectAVLTreeMap |
map
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
buffers
protected int buffers
fails
protected int fails
hits
protected int hits
map
protected it.unimi.dsi.fastutil.Object2ObjectAVLTreeMap map
CollectionCache
public CollectionCache(int blockBuffers)
CollectionCache
public CollectionCache()
add
public void add(Collection collection)
add
public void add(Collection collection,
int initialRefCount)
get
public Collection get(Collection collection)
get
public Collection get(java.lang.String name)
remove
public void remove(java.lang.String name)
remove
public void remove(Collection collection)
clear
public void clear()
Copyright (C) Wolfgang Meier. All rights reserved.