Package generic.util
Class FileLocker
java.lang.Object
generic.util.FileLocker
- Direct Known Subclasses:
ChannelLocker
-
Field Summary
Modifier and TypeFieldDescriptionprotected Properties
protected final Properties
protected final String
protected boolean
protected final File
-
Constructor Summary
-
Method Summary
-
Field Details
-
lockFile
-
existingLockProperties
-
createdLockProperties
-
existingLockType
-
isLocked
protected boolean isLocked
-
-
Constructor Details
-
FileLocker
-
-
Method Details
-
lock
public boolean lock() -
isLocked
public boolean isLocked() -
release
public void release() -
canForceLock
public boolean canForceLock() -
forceLock
public boolean forceLock() -
getExistingLockFileInformation
-
getLockType
-
createLockFile
protected boolean createLockFile() -
toString
-