Uses of Class
org.apache.storm.hdfs.spout.DirLock
Packages that use DirLock
-
Uses of DirLock in org.apache.storm.hdfs.spout
Methods in org.apache.storm.hdfs.spout that return DirLockModifier and TypeMethodDescriptionstatic DirLockDirLock.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 DirLockDirLock.tryLock(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dir) Get a lock on file if not already locked.