public class Task64
extends java.lang.Thread
| Constructor and Description |
|---|
Task64(int taskId,
Partitioner64 partitioner,
IAction1Arg<java.lang.Long> action)
Constructs a Task64 object from the specified arguments.
|
Task64(int taskId,
Partitioner64 partitioner,
IAction1Arg<java.lang.Long> action,
ParallelLoopState state)
Constructs a Task64 object from the specified arguments.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Id()
Returns the identifier of this task.
|
void |
run()
Runs the function object in a for loop in a separate thread.
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic Task64(int taskId,
Partitioner64 partitioner,
IAction1Arg<java.lang.Long> action)
taskId - The specified task ID.partitioner - An object that generates a thread safe sequence
of integers or ranges of integers.action - The function object that represents the code
to execute in the Task64.public Task64(int taskId,
Partitioner64 partitioner,
IAction1Arg<java.lang.Long> action,
ParallelLoopState state)
taskId - The specified task ID.partitioner - An object that generates a thread safe sequence
of integers or ranges of integers.action - The function object that represents the code
to execute in the Task64.state - The state of the loop, which can be monitored and manipulated.Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.