org.exist.collections
Class CollectionCache

java.lang.Object
  extended byorg.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
           
 
Constructor Summary
CollectionCache()
           
CollectionCache(int blockBuffers)
           
 
Method Summary
 void add(Collection collection)
           
 void add(Collection collection, int initialRefCount)
           
 void clear()
           
 Collection get(Collection collection)
           
 Collection get(java.lang.String name)
           
 void remove(Collection collection)
           
 void remove(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

CollectionCache

public CollectionCache(int blockBuffers)

CollectionCache

public CollectionCache()
Method Detail

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.