Lucene++ - a full-featured, c++ search engine
API Documentation

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NoLockFactory.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2011 Alan Wright. All rights reserved.
3 // Distributable under the terms of either the Apache License (Version 2.0)
4 // or the GNU Lesser General Public License.
6
7 #ifndef NOLOCKFACTORY_H
8 #define NOLOCKFACTORY_H
9
10 #include "LockFactory.h"
11
12 namespace Lucene
13 {
18 class LPPAPI NoLockFactory : public LockFactory
19 {
20 public:
21 virtual ~NoLockFactory();
22
23 LUCENE_CLASS(NoLockFactory);
24
25 private:
26 static NoLockPtr getSingletonLock();
27
28 public:
29 static NoLockFactoryPtr getNoLockFactory();
30
32 virtual LockPtr makeLock(const String& lockName);
33
36 virtual void clearLock(const String& lockName);
37 };
38 }
39
40 #endif

clucene.sourceforge.net