Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
OARemoteThread() |
OARemoteThread(Runnable r) |
Modifier and Type | Method and Description |
---|---|
void |
addRunnable(Runnable r)
By default, this will call r.run().
|
boolean |
getAllowRunnable() |
boolean |
getSendMessages() |
boolean |
isWaitingOnLock() |
void |
reset()
called before processing the next OASync message.
|
void |
setAllowRunnable(boolean b)
Flag to know if the addRunnable was overwritten to handle in another thread (pool).
|
void |
setSendMessages(boolean b)
Any OAsync changes (OAObject/Hub) that are made within an OARemoteThread will not be broadcast to
other computers, since they will also be processing the same originating message.
|
void |
setStartedNextThread(boolean b) |
void |
setWaitingOnLock(boolean b)
Flag to know if this thread is waiting on a lock set by OATreadLocalDelegate.
|
boolean |
startedNextThread() |
void |
startNextThread() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public OARemoteThread()
public OARemoteThread(Runnable r)
public void setAllowRunnable(boolean b)
public boolean getAllowRunnable()
public void addRunnable(Runnable r)
public void startNextThread()
public boolean startedNextThread()
public void setSendMessages(boolean b)
public boolean getSendMessages()
public void setWaitingOnLock(boolean b)
b
- public boolean isWaitingOnLock()
public void setStartedNextThread(boolean b)
public void reset()
Copyright © 1999–2019 ViaOA. All rights reserved.