public interface LockFactoryCreator extends Service
LockFactorys based on the current configuration.| Modifier and Type | Method and Description |
|---|---|
LockFactory |
createLockFactory(Path indexDir,
Properties dirConfiguration)
Creates a
LockFactory as selected in the configuration for the Directory provider. |
LockFactory createLockFactory(Path indexDir, Properties dirConfiguration)
LockFactory as selected in the configuration for the Directory provider. The "simple" and
"native" strategies a Path 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-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.