Package generic.util
Class ChannelLocker
- java.lang.Object
-
- generic.util.FileLocker
-
- generic.util.ChannelLocker
-
public class ChannelLocker extends FileLocker
-
-
Field Summary
-
Fields inherited from class generic.util.FileLocker
createdLockProperties, existingLockProperties, existingLockType, isLocked, lockFile
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
createLockFile()
protected java.lang.String
getLockType()
boolean
lock()
void
release()
-
Methods inherited from class generic.util.FileLocker
canForceLock, forceLock, getExistingLockFileInformation, isLocked, toString
-
-
-
-
Method Detail
-
getLockType
protected java.lang.String getLockType()
- Overrides:
getLockType
in classFileLocker
-
lock
public boolean lock()
- Overrides:
lock
in classFileLocker
-
createLockFile
protected boolean createLockFile()
- Overrides:
createLockFile
in classFileLocker
-
release
public void release()
- Overrides:
release
in classFileLocker
-
-