Class FileLockServiceImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.osgi.service.datalocation.Location anyLocation  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FileLocker getFileLocker​(java.io.File file)
      Get a locker object which can be used to protect read/write access from multiple processes on the given file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • anyLocation

        private org.eclipse.osgi.service.datalocation.Location anyLocation
    • Constructor Detail

      • FileLockServiceImpl

        public FileLockServiceImpl()
    • Method Detail

      • getFileLocker

        public FileLocker getFileLocker​(java.io.File file)
        Description copied from interface: FileLockService
        Get a locker object which can be used to protect read/write access from multiple processes on the given file. Locking is advisory only, i.e. all processes must use the same locking mechanism.
        Specified by:
        getFileLocker in interface FileLockService