|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the base interface for a Model.
| Method Summary | |
Group |
getGroup()
Returns the Group to which this Model belongs. |
void |
getLock()
Acquires a lock for the group to which this Model belongs. |
boolean |
hasLock()
Returns true if the current thread has acquired a lock for
the group containing this Model. |
void |
releaseLock()
Releases a lock previously acquired with the getLock() method. |
void |
rewindLock(int lockCount)
Rewinds a lock after a call to the unwindlock method. |
int |
unwindLock()
Unwinds a lock and returns the previous lock count. |
| Method Detail |
public Group getGroup()
Model belongs.public void getLock()
Model belongs.getLock(),
hasLock(),
releaseLock(),
rewindLock(int),
unwindLock()public boolean hasLock()
true if the current thread has acquired a lock for
the group containing this Model.true = the current thread has acquired a lock.getLock(),
releaseLock(),
rewindLock(int),
unwindLock()public void releaseLock()
getLock(),
hasLock(),
rewindLock(int),
unwindLock()public void rewindLock(int lockCount)
lockCount - the value returned by the unwindlock method.getLock(),
hasLock(),
releaseLock(),
unwindLock()public int unwindLock()
getLock(),
hasLock(),
releaseLock(),
rewindLock(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||