|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jack4j.JackClientThread
public class JackClientThread
Allows operations on the thread associated with Jack client.
Method Summary | |
---|---|
boolean |
acquireRealTimeScheduling(int priority)
Attempts to enable realtime scheduling for a thread. |
long |
clientThreadId()
Returns client thread ID, packed as long . |
void |
dropRealTimeScheduling()
Drop realtime scheduling for a thread. |
JackClient |
getJackClient()
|
java.lang.Thread |
getThread()
Returns the Java Thread that represents Jack POSIX client thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JackClient getJackClient()
public java.lang.Thread getThread()
public long clientThreadId()
long
.
public boolean acquireRealTimeScheduling(int priority) throws JackException
On some systems that may require special privileges.
priority
- requested priority
JackException
- if other error occurredpublic void dropRealTimeScheduling() throws JackException
JackException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |