7#ifndef NATIVEFSLOCKFACTORY_H
8#define NATIVEFSLOCKFACTORY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for file system based locking implementation.
Definition FSLockFactory.h:15
Implements LockFactory using native file lock.
Definition NativeFSLockFactory.h:16
void acquireTestLock()
Simple test to verify locking system is "working". On NFS, if it's mis-configured,...
virtual void clearLock(const String &lockName)
Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you...
NativeFSLockFactory(const String &lockDirName=EmptyString)
Create a NativeFSLockFactory instance, storing lock files into the specified lockDirName.
virtual ~NativeFSLockFactory()
virtual LockPtr makeLock(const String &lockName)
Return a new Lock instance identified by lockName.
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Lock > LockPtr
Definition LuceneTypes.h:496