org.garret.jipc
Interface JIPCBarrier

All Superinterfaces:
JIPCPrimitive

public interface JIPCBarrier
extends JIPCPrimitive

Barrier sycnhronization object. This synchronization primitive is used to enhure that all processes reach the same step. Session will be blocked on barrier until all other sessions will also excute waitFor method for this barrier (and also be blocked). Then, once all sessions, are blocked, all of them are released.

Semantic of methods inherited from JIPCPrimitive:

waitFor
Wait until specified number of other sessions will reach this barrier (be blocked on this barrier)
reset
Wakeup all blocked sessions


Field Summary
 
Fields inherited from interface org.garret.jipc.JIPCPrimitive
DEFAULT_RANK
 
Methods inherited from interface org.garret.jipc.JIPCPrimitive
alreadyExists, close, getName, priorityWait, priorityWait, reset, waitFor, waitFor