com.apama.pa.pmml
Event ResourceManager


Resource Manager Interface

Can be used to add/remove PMML Resources at runtime
Member Summary
 action<string >addResource

Add a new resource to Predictive Analytics Plugin Asset Store
 action<string, action<com.apama.pa.pmml.ServiceError > >addResourceCb

Add a new resource to Predictive Analytics Plugin Asset Store
 action<string >removeResource

Remove a resource from Predictive Analytics Plugin Asset Store
 action<string, action<com.apama.pa.pmml.ServiceError > >removeResourceCb

Remove a resource from Predictive Analytics Plugin Asset Store
 action< > returns sequence<string >listResources

Lists all resources that are currently loaded by the Predictive Analytics Plugin
 
Member Detail

addResource

action<string > addResource
Add a new resource to Predictive Analytics Plugin Asset Store

Provide the path to the resource file to be loaded

The resource name has to be unique and shouldn't already exist in the asset store

Any errors encountered while loading the resources will be returned using the default Service Error callback registered during service initialisation

addResourceCb

action<string, action<com.apama.pa.pmml.ServiceError > > addResourceCb
Add a new resource to Predictive Analytics Plugin Asset Store

Provide the path to the resource file to be loaded

The resource name has to be unique and shouldn't already exist in the asset store

Any errors encountered while loading the resources will be returned using the provided callback.

listResources

action< > returns sequence<string > listResources
Lists all resources that are currently loaded by the Predictive Analytics Plugin

removeResource

action<string > removeResource
Remove a resource from Predictive Analytics Plugin Asset Store

Provide the path or name of the resource file to be removed

Any errors encountered while removing the resources will be returned using the default Service Error callback registered during service initialisation

removeResourceCb

action<string, action<com.apama.pa.pmml.ServiceError > > removeResourceCb
Remove a resource from Predictive Analytics Plugin Asset Store

Provide the path or name of the resource file to be removed

Any errors encountered while removing the resources will be returned using the provided callback.