|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsuramadu.util.exec.ThreadLauncherData
Field Summary | |
static int |
NOT_SET
|
Constructor Summary | |
ThreadLauncherData(java.lang.Runnable runnable)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(java.lang.Runnable runnable,
int priority)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(java.lang.Runnable runnable,
int priority,
long period)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(java.lang.Runnable runnable,
int priority,
long period,
long initialDelay)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
MemoryType mt,
java.lang.Runnable runnable)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
MemoryType mt,
java.lang.Runnable runnable,
int priority)
Creates a new instance of Launcher |
|
ThreadLauncherData(ThreadType tt,
MemoryType mt,
java.lang.Runnable runnable,
int priority,
long period)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
MemoryType mt,
java.lang.Runnable runnable,
int priority,
long period,
long initialDelay)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
java.lang.Runnable runnable)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
java.lang.Runnable runnable,
int priority)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
java.lang.Runnable runnable,
int priority,
long period)
Creates a new instance of Launcher Data |
|
ThreadLauncherData(ThreadType tt,
java.lang.Runnable runnable,
int priority,
long period,
long initialDelay)
Creates a new instance of Launcher Data |
Method Summary | |
long |
getInitialDelay()
|
int |
getIterations()
|
MemoryType |
getMemoryType()
|
long |
getPeriod()
|
int |
getPriority()
|
java.lang.Runnable |
getRunnable()
|
java.lang.Thread |
getThread()
|
ThreadType |
getThreadType()
|
void |
setInitialDelay(long d)
|
void |
setIterations(int iterations)
Setters and getters for member fields |
void |
setMemoryType(MemoryType mt)
|
void |
setPeriod(long p)
|
void |
setPriority(int p)
|
void |
setThreadType(ThreadType tt)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int NOT_SET
Constructor Detail |
public ThreadLauncherData(java.lang.Runnable runnable)
runnable
- the object to run in the created thread. The deafultpublic ThreadLauncherData(java.lang.Runnable runnable, int priority)
runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.public ThreadLauncherData(java.lang.Runnable runnable, int priority, long period)
runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.public ThreadLauncherData(java.lang.Runnable runnable, int priority, long period, long initialDelay)
runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.initialDelay
- the initialDelay in milliseconds.public ThreadLauncherData(ThreadType tt, java.lang.Runnable runnable)
tt
- the ThreadType of the thread to create.runnable
- Runnable the object to run in the created thread. The deafult Launcher.ThreadType is REALTIMETHREAD the deafault
MemoryArea is Heap and the deafult priority is PriorityScheduler.MAX_PRIORITY.public ThreadLauncherData(ThreadType tt, java.lang.Runnable runnable, int priority)
tt
- the ThreadType of the thread to create.runnable
- Runnable the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.public ThreadLauncherData(ThreadType tt, java.lang.Runnable runnable, int priority, long period)
tt
- the ThreadType of the thread to create.runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.public ThreadLauncherData(ThreadType tt, java.lang.Runnable runnable, int priority, long period, long initialDelay)
tt
- the ThreadType of the thread to create.runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.initialDelay
- the initialDelay in milliseconds.public ThreadLauncherData(ThreadType tt, MemoryType mt, java.lang.Runnable runnable)
tt
- the ThreadType of the thread to create.mt
- the MemoryType in which to execute the created thread.runnable
- the object to run in the created thread. The deafult Launcher.ThreadType is REALTIMETHREAD the deafault MemoryArea
is Heap and the deafult priority is PriorityScheduler.MAX_PRIORITY.public ThreadLauncherData(ThreadType tt, MemoryType mt, java.lang.Runnable runnable, int priority)
tt
- the ThreadType of the thread to create.mt
- the MemoryType in which to execute the created thread.runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.public ThreadLauncherData(ThreadType tt, MemoryType mt, java.lang.Runnable runnable, int priority, long period)
tt
- the ThreadType of the thread to create.mt
- the MemoryType in which to execute the created thread.runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.public ThreadLauncherData(ThreadType tt, MemoryType mt, java.lang.Runnable runnable, int priority, long period, long initialDelay)
tt
- the ThreadType of the thread to create.mt
- the MemoryType in which to execute the created thread.runnable
- the object to run in the created thread.priority
- the priority of the thread in question. the deafult priority is PriorityScheduler.MAX_PRIORITY.period
- the period in milliseconds.initialDelay
- the initialDelay in milliseconds.Method Detail |
public void setIterations(int iterations)
public int getIterations()
public void setMemoryType(MemoryType mt)
public MemoryType getMemoryType()
public java.lang.Thread getThread()
public void setThreadType(ThreadType tt)
public ThreadType getThreadType()
public void setPriority(int p)
public int getPriority()
public void setPeriod(long p)
public long getPeriod()
public void setInitialDelay(long d)
public long getInitialDelay()
public java.lang.Runnable getRunnable()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |