public class MockLockFactoryWrapper
extends org.apache.lucene.store.LockFactory
Constructor | Description |
---|---|
MockLockFactoryWrapper(MockDirectoryWrapper dir,
org.apache.lucene.store.LockFactory delegate) |
Modifier and Type | Method | 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
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.