Interface Lock
-
public interface LockA lock on a specific monitor that can be used for synchronization purposes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisActive()Checks whether the lock is still active.voidrelease()Release the lock, making it inactive.
-