All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----utah.npm.core.Lockable
Summary |
class Lockable extends java.lang.Object { // Fields 1 private final Lock lock_; // Constructors 1 public Lockable(); // Methods 4 final void s_assertLocked(); final void s_assertUnlocked(); final void s_lock(); final void s_unlock(); }
Associate a lock with an object by subclassing. Subclasses of Lockable can be locked and unlocked.
See Also: Lock
Cross Reference |
Fields |
· lock_ | Summary | Top |
private final Lock lock_
Constructors |
· Lockable | Summary | Top |
public Lockable()
Default constructor
Methods |
· s_assertLocked | Summary | Top |
final void s_assertLocked()
Assert that this object is locked
· s_assertUnlocked | Summary | Top |
final void s_assertUnlocked()
assert that this object is unlocked (actually, assert that this object is not locked by the current thread.)
· s_lock | Summary | Top |
final void s_lock()
Acquire the lock on this object.
· s_unlock | Summary | Top |
final void s_unlock()
Release the lock on this object.
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7