public abstract class AbstractSpinningCondition extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_PROG_YIELD |
static long |
PARK_TIMEOUT |
| Constructor and Description |
|---|
AbstractSpinningCondition() |
public static final long PARK_TIMEOUT
public static final int MAX_PROG_YIELD
public void awaitNanos(long timeout)
throws InterruptedException
InterruptedExceptionpublic void await()
throws InterruptedException
InterruptedExceptionpublic void signal()
public boolean test()
Copyright © 2012–2016 Conversant Engineering. All rights reserved.