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.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public abstract void ClearLock(
	string lockName
)
Visual Basic
Public MustOverride Sub ClearLock ( _
	lockName As String _
)
Visual C++
public:
virtual void ClearLock(
	String^ lockName
) abstract

Parameters

lockName
Type: System..::..String
name of the lock to be cleared.

See Also