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


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:
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
LUCENE_CLASS
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
Lucene::FSLockFactory::FSLockFactory
FSLockFactory()
Lucene::FSLockFactory::getLockDir
String getLockDir()
Retrieve the lock directory.
Lucene::FSLockFactory
Base class for file system based locking implementation.
Definition: FSLockFactory.h:15
Lucene
Definition: AbstractAllTermDocs.h:12
Lucene::FSLockFactory::lockDir
String lockDir
Directory for the lock files.
Definition: FSLockFactory.h:22
Lucene::FSLockFactory::~FSLockFactory
virtual ~FSLockFactory()
Lucene::LockFactory
Base class for Locking implementation. Directory uses instances of this class to implement locking....
Definition: LockFactory.h:23
LockFactory.h
Lucene::FSLockFactory::setLockDir
void setLockDir(const String &lockDir)
Set the lock directory. This method can be only called once to initialize the lock directory....

clucene.sourceforge.net