public interface LockFactoryProvider
LockFactory
you need to implement this interface and define the fully qualified
classname of the factory implementation as a DirectoryProvider parameter
for the Environment.LOCKING_STRATEGY key.
The implementation must have a no-arg constructor.| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.store.LockFactory |
createLockFactory(File indexDir,
Properties dirConfiguration)
Creates a LockFactory implementation.
|
org.apache.lucene.store.LockFactory createLockFactory(File indexDir, Properties dirConfiguration)
indexDir - path to the indexBase setting, or null for
DirectoryProviders which don't rely on filesystemdirConfiguration - the properties set on the current DirectoryProviderCopyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.