The LockFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
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.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLockPrefix | Get the prefix in use for all locks created in this LockFactory. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeLock | Return a new Lock instance identified by lockName. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.) |