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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static HdfsLockFactory` | `INSTANCE`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Lock` | `obtainLock(Directory dir, String lockName)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### INSTANCE

          public static final HdfsLockFactory INSTANCE

  - ### Method Detail

    - #### obtainLock

          public Lock obtainLock(Directory dir,
                                 String lockName)
                          throws IOException

      Specified by:
        `obtainLock` in class `LockFactory`
      Throws:
        `IOException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.