public class MockLockFactoryWrapper
extends org.apache.lucene.store.LockFactory
| Constructor and Description |
|---|
MockLockFactoryWrapper(MockDirectoryWrapper dir,
org.apache.lucene.store.LockFactory delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLock(String lockName) |
String |
getLockPrefix() |
org.apache.lucene.store.Lock |
makeLock(String lockName) |
void |
setLockPrefix(String lockPrefix) |
String |
toString() |
public MockLockFactoryWrapper(MockDirectoryWrapper dir, org.apache.lucene.store.LockFactory delegate)
public void setLockPrefix(String lockPrefix)
setLockPrefix in class org.apache.lucene.store.LockFactorypublic String getLockPrefix()
getLockPrefix in class org.apache.lucene.store.LockFactorypublic org.apache.lucene.store.Lock makeLock(String lockName)
makeLock in class org.apache.lucene.store.LockFactorypublic void clearLock(String lockName) throws IOException
clearLock in class org.apache.lucene.store.LockFactoryIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.