Calls {@link #doBody} while lock is obtained. Blocks if lock cannot be obtained immediately. Retries to obtain lock once per second until it is obtained, or until it has tried ten times. Lock is released when {@link #doBody} exits.
be obtained

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

Syntax

C#
public virtual Object run()
Visual Basic
Public Overridable Function run As Object
Visual C++
public:
virtual Object^ run()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Store.Lock.With.run"]

See Also