Class MultiIndexLockFactory
- Namespace
- Examine.Lucene.Directories
- Assembly
- Examine.Lucene.dll
Lock factory that wraps multiple factories
public class MultiIndexLockFactory : LockFactory
- Inheritance
-
LockFactoryMultiIndexLockFactory
- Inherited Members
-
LockFactory.m_lockPrefixLockFactory.LockPrefix
Constructors
MultiIndexLockFactory(Directory, Directory)
Creates an instance of MultiIndexLockFactory
public MultiIndexLockFactory(Directory master, Directory child)
Parameters
master
DirectoryThe master directory
child
DirectoryThe child directory
Exceptions
MultiIndexLockFactory(LockFactory, LockFactory)
Creates an instance of MultiIndexLockFactory
public MultiIndexLockFactory(LockFactory master, LockFactory child)
Parameters
master
LockFactoryThe master lock factory
child
LockFactoryThe child lock factory
Exceptions
Methods
ClearLock(string)
Clears the lock
public override void ClearLock(string lockName)
Parameters
lockName
stringThe lock name
MakeLock(string)
Makes the lock
public override Lock MakeLock(string lockName)
Parameters
lockName
stringThe lock name
Returns
- Lock