The SingleInstanceLockFactory type exposes the following members.

Methods

  NameDescription
Public methodClearLock (Overrides LockFactory..::..ClearLock(String).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLockPrefix
Get the prefix in use for all locks created in this LockFactory.
(Inherited from LockFactory.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMakeLock (Overrides LockFactory..::..MakeLock(String).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetLockPrefix
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.
(Inherited from LockFactory.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also