7#ifndef SIMPLEFSLOCKFACTORY_H
8#define SIMPLEFSLOCKFACTORY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for file system based locking implementation.
Definition FSLockFactory.h:15
Implements LockFactory using File#createNewFile().
Definition SimpleFSLockFactory.h:17
virtual LockPtr makeLock(const String &lockName)
Return a new Lock instance identified by lockName.
virtual void clearLock(const String &lockName)
Attempt to clear (forcefully unlock and remove) the specified lock.
virtual ~SimpleFSLockFactory()
SimpleFSLockFactory(const String &lockDir)
Instantiate using the provided directory name.
SimpleFSLockFactory()
Create a SimpleFSLockFactory instance, with null (unset) lock directory. When you pass this factory t...
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Lock > LockPtr
Definition LuceneTypes.h:496