7#ifndef SINGLEINSTANCELOCKFACTORY_H
8#define SINGLEINSTANCELOCKFACTORY_H
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Utility template class to handle hash set collections that can be safely copied and shared.
Definition HashSet.h:17
Base class for Locking implementation. Directory uses instances of this class to implement locking....
Definition LockFactory.h:23
Implements LockFactory for a single in-process instance, meaning all locking will take place through ...
Definition SingleInstanceLockFactory.h:20
SingleInstanceLockFactory()
virtual ~SingleInstanceLockFactory()
virtual void clearLock(const String &lockName)
Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you...
virtual LockPtr makeLock(const String &lockName)
Return a new Lock instance identified by lockName.
HashSet< String > locks
Definition SingleInstanceLockFactory.h:28
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< Lock > LockPtr
Definition LuceneTypes.h:496