public class DefaultLockFactoryCreator extends Object implements LockFactoryCreator, Startable
LockFactoryCreator.| Constructor and Description |
|---|
DefaultLockFactoryCreator() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.store.LockFactory |
createLockFactory(File indexDir,
Properties dirConfiguration)
Creates a
LockFactory as selected in the configuration for the Directory provider. |
void |
start(Properties properties,
BuildContext context)
Start phase notification.
|
public void start(Properties properties, BuildContext context)
Startablepublic org.apache.lucene.store.LockFactory createLockFactory(File indexDir, Properties dirConfiguration)
LockFactoryCreatorLockFactory as selected in the configuration for the Directory provider. The "simple" and
"native" strategies a File to know where to store the file system based locks; other implementations may
ignore this parameter.createLockFactory in interface LockFactoryCreatorindexDir - the directory to use to store locks, if needed by implementationdirConfiguration - the configuration of current DirectoryProviderCopyright © 2006–2016 Hibernate. All rights reserved.