|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.org.toot.audio.server.SleepTimingStrategy
public class SleepTimingStrategy
An AudioTimingStategy which uses Thread.sleep(long millis, long nanos) and runs with priority Thread.MAX_PRIORITY.
| Field Summary |
|---|
| Fields inherited from interface uk.org.toot.audio.server.AudioTimingStrategy |
|---|
ONE_MILLION |
| Constructor Summary | |
|---|---|
SleepTimingStrategy()
|
|
| Method Summary | |
|---|---|
void |
block(long nowNanos,
long blockNanos)
Block (don't return) for blockNanos. |
int |
getThreadPriority()
Return the required Thread priority for the timing strategy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SleepTimingStrategy()
| Method Detail |
|---|
public int getThreadPriority()
AudioTimingStrategy
getThreadPriority in interface AudioTimingStrategy
public void block(long nowNanos,
long blockNanos)
AudioTimingStrategy
block in interface AudioTimingStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||