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
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 |
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-2013 Apache Software Foundation. All Rights Reserved.