org.compass.needle.terracotta
Class CSMTerracottaDirectory
java.lang.Object
org.apache.lucene.store.Directory
org.compass.needle.terracotta.TerracottaDirectory
org.compass.needle.terracotta.CSMTerracottaDirectory
public class CSMTerracottaDirectory
- extends TerracottaDirectory
An extension to TerracottaDirectory
that works in much the same way, except that it
uses Terracotta ConcurrentStringMap
instead of ConcurrentHashMap
to store the
index at.
- Author:
- kimchy
Methods inherited from class org.compass.needle.terracotta.TerracottaDirectory |
addFile, close, createOutput, deleteFile, fileExists, fileLength, fileModified, getBufferSize, getFlushRate, getLockFactory, list, openInput, renameFile, setLockFactory, touchFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSMTerracottaDirectory
public CSMTerracottaDirectory()
CSMTerracottaDirectory
public CSMTerracottaDirectory(int bufferSize,
int flushRate)
createMap
protected Map<String,TerracottaFile> createMap(int chmInitialCapacity,
float chmLoadFactor,
int chmConcurrencyLevel)
- Overrides:
createMap
in class TerracottaDirectory
Copyright (c) 2004-2009 The Compass Project.