Save This Page
Home » lucene-2.4.1-src » org.apache » lucene » store » [javadoc | source]
org.apache.lucene.store
public class: MMapDirectory [javadoc | source]
java.lang.Object
   org.apache.lucene.store.Directory
      org.apache.lucene.store.FSDirectory
         org.apache.lucene.store.MMapDirectory
File-based Directory implementation that uses mmap for input.

To use this, invoke Java with the System property org.apache.lucene.FSDirectory.class set to org.apache.lucene.store.MMapDirectory. This will cause FSDirectory#getDirectory(File,boolean) to return instances of this class.
Fields inherited from org.apache.lucene.store.FSDirectory:
LOCK_DIR
Fields inherited from org.apache.lucene.store.Directory:
isOpen,  lockFactory
Method from org.apache.lucene.store.MMapDirectory Summary:
openInput,   openInput
Methods from org.apache.lucene.store.FSDirectory:
close,   createOutput,   deleteFile,   fileExists,   fileLength,   fileModified,   fileModified,   getDirectory,   getDirectory,   getDirectory,   getDirectory,   getDirectory,   getDirectory,   getDisableLocks,   getFile,   getLockID,   list,   openInput,   openInput,   renameFile,   setDisableLocks,   sync,   toString,   touchFile
Methods from org.apache.lucene.store.Directory:
clearLock,   close,   copy,   createOutput,   deleteFile,   ensureOpen,   fileExists,   fileLength,   fileModified,   getLockFactory,   getLockID,   list,   makeLock,   openInput,   openInput,   renameFile,   setLockFactory,   sync,   touchFile
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.store.MMapDirectory Detail:
 public IndexInput openInput(String name) throws IOException 
 public IndexInput openInput(String name,
    int bufferSize) throws IOException