public interface LockFactoryCreator extends Service
LockFactory
s based on the current configuration.Modifier and Type | Method and Description |
---|---|
LockFactory |
createLockFactory(File indexDir,
Properties dirConfiguration)
Creates a
LockFactory as selected in the configuration for the Directory provider. |
LockFactory createLockFactory(File indexDir, Properties dirConfiguration)
LockFactory
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.indexDir
- the directory to use to store locks, if needed by implementationdirConfiguration
- the configuration of current DirectoryProviderCopyright © 2006-2017 Red Hat, Inc. All Rights Reserved