Package org.eclipse.tycho.core.locking
Class FileLockServiceImpl
- java.lang.Object
-
- org.eclipse.tycho.core.locking.FileLockServiceImpl
-
- All Implemented Interfaces:
FileLockService
@Component(role=FileLockService.class) public class FileLockServiceImpl extends java.lang.Object implements FileLockService
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.osgi.service.datalocation.Location
anyLocation
-
Constructor Summary
Constructors Constructor Description FileLockServiceImpl()
-
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.
-
-
-
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 interfaceFileLockService
-
-