Initializes a new instance of the VerifyingLockFactory class

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

Syntax

C#
public VerifyingLockFactory(
	sbyte id,
	LockFactory lf,
	string host,
	int port
)
Visual Basic
Public Sub New ( _
	id As SByte, _
	lf As LockFactory, _
	host As String, _
	port As Integer _
)
Visual C++
public:
VerifyingLockFactory(
	signed char id, 
	LockFactory^ lf, 
	String^ host, 
	int port
)

Parameters

id
Type: System..::..SByte
should be a unique id across all clients
lf
Type: Lucene.Net.Store..::..LockFactory
the LockFactory that we are testing
host
Type: System..::..String
host or IP where {@link LockVerifyServer} is running
port
Type: System..::..Int32
the port {@link LockVerifyServer} is listening on

See Also