Package org.apache.solr.hdfs.store
Class HdfsLockFactory
- java.lang.Object
-
- org.apache.lucene.store.LockFactory
-
- org.apache.solr.hdfs.store.HdfsLockFactory
-
public class HdfsLockFactory extends org.apache.lucene.store.LockFactory
-
-
Field Summary
Fields Modifier and Type Field Description static HdfsLockFactory
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.store.Lock
obtainLock(org.apache.lucene.store.Directory dir, String lockName)
-
-
-
Field Detail
-
INSTANCE
public static final HdfsLockFactory INSTANCE
-
-
Method Detail
-
obtainLock
public org.apache.lucene.store.Lock obtainLock(org.apache.lucene.store.Directory dir, String lockName) throws IOException
- Specified by:
obtainLock
in classorg.apache.lucene.store.LockFactory
- Throws:
IOException
-
-