Lucene.Net 1.9.1 Class Library

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

Close (inherited from FSDirectory)Closes the store to future operations.
createFile (inherited from Directory) 
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.
GetType (inherited from Object) Gets the Type of the current instance.
List (inherited from FSDirectory)Returns an array of strings, one for each file in the directory.
MakeLock (inherited from FSDirectory)Constructs a {@link Lock} with the specified name. Locks are implemented with {@link File#createNewFile()}.
OpenFile (inherited from Directory) 
OpenInput 
RenameFile (inherited from FSDirectory)Renames an existing file in the directory.
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