org.compass.core.lucene.engine.store
Interface LockFactoryProvider
- All Known Implementing Classes:
- DefaultCoherenceLockFactoryProvider, GigaSpaceLockFactoryProvider, InvocableCoherenceLockFactoryProvider, TerracottaLockFactoryProvider, TerracottaManagerUtilLockFactoryProvider
public interface LockFactoryProvider
A delegate interface allowing to provide a custom lock factory implementation.
- Author:
- kimchy
createLockFactory
LockFactory createLockFactory(String path,
String subContex,
String subIndex,
CompassSettings settings)
throws SearchEngineException
- Creates the a lock factory.
- Parameters:
path - The path the lock factory will work with. Does not have to be an actual file system path.subContex - The sub context the index is created with.subIndex - The sub index within the index (under the sub context).settings - Additional configuration settings
- Returns:
- The actual lock factory
- Throws:
SearchEngineException
Copyright (c) 2004-2008 The Compass Project.