@Component(role=FileLockService.class) public class FileLockServiceImpl extends java.lang.Object implements FileLockService
| Modifier and Type | Field and Description |
|---|---|
private org.eclipse.osgi.service.datalocation.Location |
anyLocation |
| Constructor and Description |
|---|
FileLockServiceImpl() |
| Modifier and Type | Method and 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.
|
public FileLocker getFileLocker(java.io.File file)
FileLockServicegetFileLocker in interface FileLockService