## Uses of Class
org.apache.storm.hdfs.spout.DirLock

- Packages that use DirLock
  Package | Description
  --- | ---
  org.apache.storm.hdfs.spout |

- - ### Uses of DirLock in org.apache.storm.hdfs.spout

    Methods in org.apache.storm.hdfs.spout that return DirLock
    Modifier and Type | Method and Description
    --- | ---
    `static DirLock` | DirLock.`takeOwnershipIfStale(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dirToLock, int lockTimeoutSec)` if the lock on the directory is stale, take ownership.
    `static DirLock` | DirLock.`tryLock(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir)` Get a lock on file if not already locked.

Copyright © 2021 The Apache Software Foundation. All rights reserved.