java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QLockFile
- All Implemented Interfaces:
QtObjectInterface
public class QLockFile extends QtObject
Locking between processes using a file
Java wrapper for Qt class QLockFile
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QLockFile.LockError
Java wrapper for Qt enum QLockFile::LockErrorstatic class
QLockFile.LockInfo
Result class forgetLockInfo()
-
Constructor Summary
Constructors Modifier Constructor Description protected
QLockFile(QtObject.QPrivateConstructor p)
Constructor for internal use only.QLockFile(String fileName)
-
Method Summary
Modifier and Type Method Description QLockFile.LockError
error()
QLockFile.LockInfo
getLockInfo()
boolean
isLocked()
boolean
lock()
boolean
removeStaleLockFile()
void
setStaleLockTime(int arg__1)
int
staleLockTime()
boolean
tryLock()
Overloaded function fortryLock(int)
withtimeout = 0
.boolean
tryLock(int timeout)
void
unlock()
-
Constructor Details
-
Method Details
-
error
-
getLockInfo
-
isLocked
-
lock
-
removeStaleLockFile
-
setStaleLockTime
-
staleLockTime
-
tryLock
Overloaded function for
tryLock(int)
withtimeout = 0
. -
tryLock
-
unlock
-