public interface LockFactoryProvider
LockFactoryyou need to implement this interface and define the fully qualified classname of the factory implementation as a DirectoryProvider parameter for the
Environment.LOCKING_STRATEGYkey. The implementation must have a no-arg constructor.
LockFactory createLockFactory(File indexDir, Properties dirConfiguration)
indexDir- path to the indexBase setting, or null for DirectoryProviders which don't rely on filesystem
dirConfiguration- the properties set on the current DirectoryProvider
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved