java.lang.Object
io.qt.QtObject
io.qt.core.QLockFile
- All Implemented Interfaces:
QtObjectInterface
Locking between processes using a file
Java wrapper for Qt class QLockFile
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQLockFile::LockError
static class
Result class forgetLockInfo()
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
Constructors -
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
-
-
Method Details
-
error
-
getLockInfo
-
isLocked
-
lock
-
removeStaleLockFile
-
setStaleLockTime
-
staleLockTime
-
tryLock
-
unlock
-
tryLock
Overloaded function for
tryLock(int)
withtimeout = 0
.
-