org.apache.blur.index
Class OptimisticLockFactory

java.lang.Object
  extended by org.apache.lucene.store.LockFactory
      extended by org.apache.blur.index.OptimisticLockFactory

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


Constructor Summary
OptimisticLockFactory(org.apache.hadoop.conf.Configuration configuration, org.apache.hadoop.fs.Path dir, String host, int 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

OptimisticLockFactory

public OptimisticLockFactory(org.apache.hadoop.conf.Configuration configuration,
                             org.apache.hadoop.fs.Path dir,
                             String host,
                             int 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.