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


 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FSLockFactory.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2014 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 FSLOCKFACTORY_H
8 #define FSLOCKFACTORY_H
9 
10 #include "LockFactory.h"
11 
12 namespace Lucene {
13 
15 class LPPAPI FSLockFactory : public LockFactory {
16 protected:
17  FSLockFactory();
18 
19 public:
20  virtual ~FSLockFactory();
21 
23 
24 protected:
26  String lockDir;
27 
28 public:
33  void setLockDir(const String& lockDir);
34 
36  String getLockDir();
37 };
38 
39 }
40 
41 #endif
Base class for file system based locking implementation.
Definition: FSLockFactory.h:15
Base class for Locking implementation. Directory uses instances of this class to implement locking...
Definition: LockFactory.h:23
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Definition: AbstractAllTermDocs.h:12

clucene.sourceforge.net