Package | Description |
---|---|
com.spss.psapi.task |
This provides objects that create and represent data mining tasks.
|
Modifier and Type | Field and Description |
---|---|
static ExecutionState |
ExecutionState.ERROR
The task has completed with an error.
|
static ExecutionState |
ExecutionState.EXECUTING
The task is still executing.
|
static ExecutionState |
ExecutionState.SUBMITTED
The task has been submitted for execution but not yet started.
|
static ExecutionState |
ExecutionState.SUCCESS
The task has completed successfully.
|
static ExecutionState |
ExecutionState.TERMINATED
The task has completed prematurely as the result of a terminate request.
|
static ExecutionState |
ExecutionState.TERMINATING
A terminate request has been issued but the task has not yet completed.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionState |
ExecutionState.getEnum(java.lang.String name)
Returns the enumeration with the supplied name or
null if
no enumeration exists for the supplied name. |
ExecutionState |
ExecutionStateEvent.getExecutionState()
Returns the new execution state which caused this event to be raised.
|
ExecutionState |
ExecutionHandle.getExecutionState()
Returns the latest
ExecutionState of the associated task. |
static ExecutionState[] |
ExecutionState.getValues()
Returns an array containing all the valid values for this enumeration class.
|
ExecutionState |
ExecutionHandle.terminate()
Terminates execution of the associated task and returns its final
ExecutionState . |
ExecutionState |
ExecutionHandle.terminate(long milliseconds)
Terminates execution of the associated task, waits until the task has
finished or until the specified timeout has expired (whichever is sooner)
and returns the execution state of the task.
|
ExecutionState |
ExecutionHandle.waitForCompletion()
Waits until the associated task has finished executing and returns its
final
ExecutionState . |
ExecutionState |
ExecutionHandle.waitForCompletion(long milliseconds)
Waits until the associated task has finished executing, or until the
specified timeout has expired (whichever is sooner) and returns the
ExecutionState of the task. |
Modifier and Type | Method and Description |
---|---|
static ExecutionStateEvent |
ExecutionStateEvent.createExecutionStateEvent(ExecutionHandle handle,
ExecutionState state)
Creates a new execution state event.
|
Constructor and Description |
---|
ExecutionStateEvent(ExecutionHandle handle,
ExecutionState state)
Constructs an
ExecutionStateEvent using the supplied
parameters. |
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.