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.LockFactory
public String getLockPrefix()
getLockPrefix
in class org.apache.lucene.store.LockFactory
public org.apache.lucene.store.Lock makeLock(String lockName)
makeLock
in class org.apache.lucene.store.LockFactory
public void clearLock(String lockName) throws IOException
clearLock
in class org.apache.lucene.store.LockFactory
IOException