Apache Lucene.Net 2.4.0 Class Library API

LockFactory Members

LockFactory overview

Public Instance Methods

ClearLock 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.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLockPrefix Get the prefix in use for all locks created in this LockFactory.
GetType (inherited from Object)Gets the Type of the current instance.
MakeLock Return a new Lock instance identified by lockName.
SetLockPrefix Set the prefix in use for all locks created in this LockFactory. This is normally called once, when a Directory gets this LockFactory instance. However, you can also call this (after this instance is assigned to a Directory) to override the prefix in use. This is helpful if you're running Lucene on machines that have different mount points for the same shared directory.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

LockFactory Constructor Initializes a new instance of the LockFactory class.

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.

Protected Internal Instance Fields

lockPrefix 

See Also

LockFactory Class | Lucene.Net.Store Namespace | | |