Java Reference
In-Depth Information
Table 9-4
(continued)
Core Task Execution Methods
Description
execute(taskName):ExecutionHandle
Executes the task asynchronously. It returns after submitting
the task for execution in the DME. This method returns an
ExecutionHandle to the caller, so that applications can track
task execution.
getLastExecutionHandle(taskName):
ExecutionHandle
A task can be executed multiple times. Using this method, the
last execution handle can be retrieved to track the latest execu-
tion of the specified task.
Other Core methods
Description
getLocale()
Returns the locale specified at the time of Connection
creation.
setLocale(Locale)
Overrides the locale specified at the ConnectionFactory object.
close()
Closes and releases all the resources used by the DME Connec-
tion. Applications should call this method when finished with a
JDM connection. Any non-persistent objects created using this
connection will not be usable once the connection is closed.
Support capabilities methods
Description
getSupportedFunctions():
MiningFunction[]
Returns the list of mining functions supported by the connected
DME.
getSupportedAlgorithms
(MiningFunction):Algorithm[]
Returns the list of mining algorithms supported for the speci-
fied mining function by the connected DME.
getNamedObjects
(PersistenceOption):NamedObject[]
Returns the list of named objects that supports the specified
persistence option.
supportsCapability
(MiningFunction, Mining-
Algorithm, MiningTask):boolean
Returns true if the specified combinations of mining function,
algorithm, and task are supported.
supportsCapability
(NamedObject, Persistence-
Option):boolean
Returns true if the specified named object supports the specified
persistence option.
Metadata methods
Description
getConnectionMetaData():
ConnectionMetaData
Returns the resource.ConnectionMetadata object containing
the DME and JDM version information.
getMaxNameLength(): int
Returns the maximum length of the name supported for the
named object by the DME. Not all DMEs have the same name
limit.
getMaxDescriptionLength(): int
Returns the maximum description length supported for the
named objects by the DME.
Search WWH ::




Custom Search