org.apache.blur.index
Class OptimisticLockFactory
java.lang.Object
org.apache.lucene.store.LockFactory
org.apache.blur.index.OptimisticLockFactory
public class OptimisticLockFactory
- extends org.apache.lucene.store.LockFactory
Constructor Summary |
OptimisticLockFactory(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path dir,
String host,
int pid)
|
Methods inherited from class org.apache.lucene.store.LockFactory |
getLockPrefix, setLockPrefix |
OptimisticLockFactory
public OptimisticLockFactory(org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.fs.Path dir,
String host,
int pid)
throws IOException
- Throws:
IOException
makeLock
public org.apache.lucene.store.Lock makeLock(String lockName)
- Specified by:
makeLock
in class org.apache.lucene.store.LockFactory
clearLock
public void clearLock(String lockName)
throws IOException
- Specified by:
clearLock
in class org.apache.lucene.store.LockFactory
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.