org.apache.solr.store.hdfs
Class HdfsLockFactory
java.lang.Object
org.apache.lucene.store.LockFactory
org.apache.solr.store.hdfs.HdfsLockFactory
public class HdfsLockFactory
- extends LockFactory
Field Summary |
static org.slf4j.Logger |
log
|
Constructor Summary |
HdfsLockFactory(org.apache.hadoop.fs.Path lockPath,
org.apache.hadoop.conf.Configuration configuration)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static org.slf4j.Logger log
HdfsLockFactory
public HdfsLockFactory(org.apache.hadoop.fs.Path lockPath,
org.apache.hadoop.conf.Configuration configuration)
makeLock
public Lock makeLock(String lockName)
- Specified by:
makeLock
in class LockFactory
clearLock
public void clearLock(String lockName)
throws IOException
- Specified by:
clearLock
in class LockFactory
- Throws:
IOException
getLockPath
public org.apache.hadoop.fs.Path getLockPath()
setLockPath
public void setLockPath(org.apache.hadoop.fs.Path lockPath)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.