public class AnyCyclicBarrier
extends java.lang.Object
parties threads to call
await, at which point all parties will proceed.
If the barrier is broken, a HydraRunTimeException will be thrown from all
waiting threads. Future attempts to use the cyclic barrier in any VM will
also throw an exception| Modifier | Constructor and Description |
|---|---|
protected |
AnyCyclicBarrier(int parties,
java.lang.String lockName) |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
static AnyCyclicBarrier |
lookup(int parties,
java.lang.String name) |
protected AnyCyclicBarrier(int parties,
java.lang.String lockName)
public static AnyCyclicBarrier lookup(int parties, java.lang.String name)
public void await()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.