Apache Lucene.Net 2.1 Class Library API

MMapDirectory Methods

The methods of the MMapDirectory class are listed below. For a complete list of MMapDirectory class members, see the MMapDirectory Members topic.

Public Instance Methods

ClearLock (inherited from Directory) Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you are certain this lock is no longer in use.
Close (inherited from FSDirectory)Closes the store to future operations.
CreateOutput (inherited from FSDirectory)Creates a new, empty file in the directory with the given name. Returns a stream writing this file.
DeleteFile (inherited from FSDirectory)Removes an existing file in the directory.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
FileExists (inherited from FSDirectory)Returns true iff a file with the given name exists.
FileLength (inherited from FSDirectory)Returns the length in bytes of a file in the directory.
FileModified (inherited from FSDirectory)Returns the time the named file was last modified.
GetFile (inherited from FSDirectory) 
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLockFactory (inherited from Directory) Get the LockFactory that this Directory instance is using for its locking implementation. Note that this may be null for Directory implementations that provide their own locking implementation.
GetLockID (inherited from FSDirectory) 
GetType (inherited from Object) Gets the Type of the current instance.
List (inherited from FSDirectory)Returns an array of strings, one for each Lucene index file in the directory.
MakeLock (inherited from Directory)Construct a {@link Lock}.
OpenInput 
RenameFile (inherited from FSDirectory)Renames an existing file in the directory. Warning: This is not atomic.
SetLockFactory (inherited from Directory) Set the LockFactory that this Directory instance should use for its locking implementation. Each * instance of LockFactory should only be used for one directory (ie, do not share a single instance across multiple Directories).
ToString (inherited from FSDirectory)For debug output.
TouchFile (inherited from FSDirectory)Set the modified time of an existing file to now.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

MMapDirectory Class | Lucene.Net.Store Namespace