org.apache.blur.store.hdfs
Class BlurLockFactory

java.lang.Object
  extended by org.apache.lucene.store.LockFactory
      extended by org.apache.blur.store.hdfs.BlurLockFactory

public class BlurLockFactory
extends org.apache.lucene.store.LockFactory


Constructor Summary
BlurLockFactory(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path dir, String host, String pid)
           
 
Method Summary
 void clearLock(String lockName)
           
 org.apache.lucene.store.Lock makeLock(String lockName)
           
 
Methods inherited from class org.apache.lucene.store.LockFactory
getLockPrefix, setLockPrefix
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurLockFactory

public BlurLockFactory(org.apache.hadoop.conf.Configuration configuration,
                       org.apache.hadoop.fs.Path dir,
                       String host,
                       String pid)
                throws IOException
Throws:
IOException
Method Detail

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.