The methods of the LockFactory class are listed below. For a complete list of LockFactory class members, see the LockFactory Members topic.
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. |
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. |
LockFactory Class | Lucene.Net.Store Namespace | | |