public class Lockable extends Object
| Constructor and Description |
|---|
Lockable() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
check()
Checks to see if the object has been locked.
|
protected void |
lock()
Invokes
check(), then sets the locked flag. |
public Lockable()
protected void check()
IllegalStateException - if lock() has been invoked.protected void lock()
5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.