public static final class OpOrder.Group extends java.lang.Object implements java.lang.Comparable<OpOrder.Group>, java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
await() |
void |
close()
To be called exactly once for each register() call this object is returned for, indicating the operation
is complete
|
int |
compareTo(OpOrder.Group that) |
boolean |
isBlocking() |
WaitQueue.Signal |
isBlockingSignal()
register to be signalled when a barrier waiting on us is, or maybe, blocking general progress,
so we should try more aggressively to progress
|
WaitQueue.Signal |
isBlockingSignal(WaitQueue.Signal signal)
wrap the provided signal to also be signalled if the operation gets marked blocking
|
boolean |
isFinished() |
boolean |
isOldestLiveGroup() |
OpOrder.Group |
prev() |
public void close()
close
in interface java.lang.AutoCloseable
public boolean isFinished()
public boolean isOldestLiveGroup()
public void await()
public OpOrder.Group prev()
public boolean isBlocking()
public WaitQueue.Signal isBlockingSignal()
public WaitQueue.Signal isBlockingSignal(WaitQueue.Signal signal)
public int compareTo(OpOrder.Group that)
compareTo
in interface java.lang.Comparable<OpOrder.Group>
Copyright © 2009-2021 The Apache Software Foundation