java.lang.Object
io.qt.QtObject
io.qt.core.QLockFile
- All Implemented Interfaces:
QtObjectInterface
Locking between processes using a file
Java wrapper for Qt's class QLockFile
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QLockFile::LockErrorstatic class
Result class forgetLockInfo()
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QLockFile.LockError
error()
final QLockFile.LockInfo
final boolean
isLocked()
final boolean
lock()
final boolean
final void
setStaleLockTime
(int arg__1) final int
final boolean
tryLock()
Overloaded function fortryLock(int)
withtimeout = 0
.final boolean
tryLock
(int timeout) final void
unlock()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QLockFile
-
QLockFile
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
error
-
getLockInfo
-
isLocked
-
lock
-
removeStaleLockFile
-
setStaleLockTime
-
staleLockTime
-
tryLock
Overloaded function for
tryLock(int)
withtimeout = 0
. -
tryLock
-
unlock
-