public class HdfsLockFactory
extends org.apache.lucene.store.LockFactory
Modifier and Type | Field and Description |
---|---|
static HdfsLockFactory |
INSTANCE |
static org.slf4j.Logger |
log |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.Lock |
obtainLock(org.apache.lucene.store.Directory dir,
String lockName) |
public static org.slf4j.Logger log
public static final HdfsLockFactory INSTANCE
public org.apache.lucene.store.Lock obtainLock(org.apache.lucene.store.Directory dir, String lockName) throws IOException
obtainLock
in class org.apache.lucene.store.LockFactory
IOException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.