public class SynchronousConsumerThread extends Consumer
Constructor and Description |
---|
SynchronousConsumerThread(Runtime.ThreadState myState,
FactsList[] f,
int indexToWrite,
AbstractNodesList[] myLists,
AbstractNodesPositionMatrix matrix) |
SynchronousConsumerThread(Runtime.ThreadState myState,
FactsList[] f,
int indexToWrite,
AbstractNodesList[] myLists,
AbstractNodesPositionMatrix[] matrix) |
SynchronousConsumerThread(Runtime.ThreadState myState,
FactsList[] f,
int indexToWrite,
AbstractNodesList[] myLists,
ConcurrentNodesPositionHashMap map) |
Modifier and Type | Method and Description |
---|---|
Runtime.ThreadState |
getMyState() |
void |
run()
For a given ThreadState, this method perform an action that can be
update facts, move nodes, rebuild the matrix, find neighbours or perform
node's step phase.
|
void |
setMyState(Runtime.ThreadState myState) |
activeCount, checkAccess, 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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public SynchronousConsumerThread(Runtime.ThreadState myState, FactsList[] f, int indexToWrite, AbstractNodesList[] myLists, AbstractNodesPositionMatrix[] matrix)
public SynchronousConsumerThread(Runtime.ThreadState myState, FactsList[] f, int indexToWrite, AbstractNodesList[] myLists, AbstractNodesPositionMatrix matrix)
public SynchronousConsumerThread(Runtime.ThreadState myState, FactsList[] f, int indexToWrite, AbstractNodesList[] myLists, ConcurrentNodesPositionHashMap map)
public Runtime.ThreadState getMyState()
public void setMyState(Runtime.ThreadState myState)