public final class OpOrder.Barrier
extends java.lang.Object
OpOrder
for idiomatic usage.Constructor and Description |
---|
Barrier() |
Modifier and Type | Method and Description |
---|---|
void |
await()
wait for all operations started prior to issuing the barrier to complete
|
OpOrder.Group |
getSyncPoint()
returns the Group we are waiting on - any Group with
.compareTo(getSyncPoint()) <= 0
must complete before await() returns |
boolean |
isAfter(OpOrder.Group group) |
void |
issue()
Issues (seals) the barrier, meaning no new operations may be issued against it, and expires the current
Group.
|
void |
markBlocking()
Mark all prior operations as blocking, potentially signalling them to more aggressively make progress
|
public boolean isAfter(OpOrder.Group group)
public void issue()
public void markBlocking()
public void await()
public OpOrder.Group getSyncPoint()
.compareTo(getSyncPoint()) <= 0
must complete before await() returnsCopyright © 2009-2022 The Apache Software Foundation