Class LockVerifyServer
Simple standalone server that must be running when you use VerifyingLockFactory. This server simply verifies at most one process holds the lock at a time.
LUCENENET specific: In the Java implementation, this class' Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to that method: lock verify-serverInherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public static class LockVerifyServer
Methods
Main(string[])
LUCENENET specific: In the Java implementation, this Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to this method: lock verify-server
Declaration
[STAThread]
public static void Main(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | The command line arguments |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the incorrect number of arguments are provided |