Table of Contents

Class MultiIndexLockFactory

Namespace
Examine.Lucene.Directories
Assembly
Examine.Lucene.dll

Lock factory that wraps multiple factories

public class MultiIndexLockFactory : LockFactory
Inheritance
LockFactory
MultiIndexLockFactory
Inherited Members
LockFactory.m_lockPrefix
LockFactory.LockPrefix

Constructors

MultiIndexLockFactory(Directory, Directory)

Creates an instance of MultiIndexLockFactory

public MultiIndexLockFactory(Directory master, Directory child)

Parameters

master Directory

The master directory

child Directory

The child directory

Exceptions

ArgumentNullException

MultiIndexLockFactory(LockFactory, LockFactory)

Creates an instance of MultiIndexLockFactory

public MultiIndexLockFactory(LockFactory master, LockFactory child)

Parameters

master LockFactory

The master lock factory

child LockFactory

The child lock factory

Exceptions

ArgumentNullException

Methods

ClearLock(string)

Clears the lock

public override void ClearLock(string lockName)

Parameters

lockName string

The lock name

MakeLock(string)

Makes the lock

public override Lock MakeLock(string lockName)

Parameters

lockName string

The lock name

Returns

Lock