Package eu.webtoolkit.jwt
Class WApplication.UpdateLock
- java.lang.Object
-
- eu.webtoolkit.jwt.WApplication.UpdateLock
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Enclosing class:
- WApplication
public static class WApplication.UpdateLock extends java.lang.Object implements java.lang.AutoCloseableA synchronization lock for manipulating and updating the application and its widgets outside of the event loop.You need to take this lock only when you want to manipulate widgets outside of the event loop. LabelOption::Inside the event loop, this lock is already held by the library itself.
- See Also:
WApplication.getUpdateLock()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Releases the lock.voidrelease()Releases the lock.
-
-
-
Method Detail
-
release
public void release()
Releases the lock.
-
close
public void close()
Releases the lock.Calls
release()Implemented in order to support the AutoCloseable interface.
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-