Class FileLock

  • All Implemented Interfaces:

    
    public final class FileLock
    
                        

    A file lock that uses the local filesystem.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> T doWithLock(Supplier<T> f) Executes the given Supplier while holding the lock.
      • Methods inherited from class java.lang.Object

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