java.lang.Object
io.qt.QtObject
io.qt.core.QReadLocker
- All Implemented Interfaces:
QtObjectInterface
,AutoCloseable
Convenience class that simplifies locking and unlocking read-write locks for read access
Java wrapper for Qt class QReadLocker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
close()
Deletes the underlying native object.final QReadWriteLock
final void
relock()
final void
unlock()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QReadLocker
- Parameters:
readWriteLock
-
-
-
Method Details
-
readWriteLock
- Returns:
-
relock
-
unlock
-
close
Deletes the underlying native object.- Specified by:
close
in interfaceAutoCloseable
-