A {@link LockFactory} that wraps another {@link
LockFactory} and verifies that each lock obtain/release
is "correct" (never results in two processes holding the
lock at the same time). It does this by contacting an
external server ({@link LockVerifyServer}) to assert that
at most one process holds the lock at a time. To use
this, you should also run {@link LockVerifyServer} on the
host & port matching what you pass to the constructor.
Namespace: Lucene.Net.StoreAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
Visual Basic |
---|
Public Class VerifyingLockFactory _
Inherits LockFactory |
Visual C++ |
---|
public ref class VerifyingLockFactory : public LockFactory |
Inheritance Hierarchy
See Also