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 virtual void ClearLock(
	string name
)
Visual Basic
Public Overridable Sub ClearLock ( _
	name As String _
)
Visual C++
public:
virtual void ClearLock(
	String^ name
)

Parameters

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

See Also