|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jawk.jrt.BlockManager
public class BlockManager
Manages multiple blocking code segments simultaneously such that unblocking one block condition releases the block of all other block code segments.
BlockObject,
BulkBlockObject| Constructor Summary | |
|---|---|
BlockManager()
|
|
| Method Summary | |
|---|---|
java.lang.String |
block(BlockObject bo)
Executes all block segments simultaneously, waiting for one block release. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlockManager()
| Method Detail |
|---|
public java.lang.String block(BlockObject bo)
The algorithm is as follows:
And, the BlockThread algorithm is as follows:
bo - BlockObject to employ. Other block objects
may be linked to this block object. In this event,
employ all block objects simultaneously.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||