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


Loading...
Searching...
No Matches
FSLockFactory.h
Go to the documentation of this file.
1
2// 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
12namespace Lucene {
13
15class LPPAPI FSLockFactory : public LockFactory {
16protected:
18
19public:
20 virtual ~FSLockFactory();
21
23
24protected:
26 String lockDir;
27
28public:
33 void setLockDir(const String& lockDir);
34
36 String getLockDir();
37};
38
39}
40
41#endif
#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Base class for file system based locking implementation.
Definition FSLockFactory.h:15
String lockDir
Directory for the lock files.
Definition FSLockFactory.h:26
void setLockDir(const String &lockDir)
Set the lock directory. This method can be only called once to initialize the lock directory....
String getLockDir()
Retrieve the lock directory.
Base class for Locking implementation. Directory uses instances of this class to implement locking....
Definition LockFactory.h:23
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net