Class FileSystemLock

    • Constructor Detail

      • FileSystemLock

        protected FileSystemLock​(File directory,
                                 String lockName,
                                 TimeUnit lastAccessTimeUnit,
                                 long lastAccessThreshold)
    • Method Detail

      • lock

        public void lock()
      • unlock

        public void unlock()
      • hasBeenInUse

        public boolean hasBeenInUse()
      • getLockName

        protected String getLockName()