org.compass.needle.terracotta
Class TerracottaLockFactoryProvider
java.lang.Object
org.compass.needle.terracotta.TerracottaLockFactoryProvider
- All Implemented Interfaces:
- LockFactoryProvider
public class TerracottaLockFactoryProvider
- extends Object
- implements LockFactoryProvider
- Author:
- kimchy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerracottaLockFactoryProvider
public TerracottaLockFactoryProvider()
createLockFactory
public LockFactory createLockFactory(String path,
String subContex,
String subIndex,
CompassSettings settings)
throws SearchEngineException
- Description copied from interface:
LockFactoryProvider
- Creates the a lock factory.
- Specified by:
createLockFactory in interface LockFactoryProvider
- 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.