public interface ICcServer
ICcServer client programs to initialize the Corticon Server, to manage decision services, and to invoke decision services.
The Corticon Server is the entry point to a managed set of decision services called Ruleflows.
Each Ruleflow has its own Corticon engine (also known as the Reactor) pool.
Each Corticon engine pool is keyed by a logical decision "Service" name used to identify the target service
on an incoming request. Each Corticon engine pool is associated with one and only one Ruleflow (decision service).
Clients use ICcServerFactory to create an instance of type ICcServer which is used it
to deploy one or more decision services using either a Corticon Deployment Descriptor file (CDD) or individually
via method addDecisionService. Once the Corticon Server is initialized, clients can invoke
execute methods to process requests. Various overloads of execute are
offered to allow input via JDOM XML Documents, XML Strings or Java Business Objects.| Modifier and Type | Interface and Description |
|---|---|
static class |
ICcServer.LogLevel
Log level enumeration to used control the logging level for the ICcServer instance.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CCPROPERTY_BUILD_NUMBER
Explicit property name that is used to get the Build Number of the CcServer
|
static java.lang.String |
CCPROPERTY_FULL_VERSION_NUMBER
Explicit property name that is used to get the Full Version Number of the CcServer
|
static java.lang.String |
CCPROPERTY_SERVICE_RELEASE_NUMBER
Explicit property name that is used to get the Service Release Number of the CcServer
|
static java.lang.String |
CCPROPERTY_VERSION_NUMBER
Explicit property name that is used to get the Version Number of the CcServer
|
static java.lang.String |
DATABASE_ACCESS_NONE
Indicates that a Decision Service does not access an Enterprise
database.
|
static java.lang.String |
DATABASE_ACCESS_READ_ONLY
Indicates that a Decision Service has read only access to an
Enterprise database.
|
static java.lang.String |
DATABASE_ACCESS_READ_WRITE
Indicates that a Decision Service has read/write access to an
Enterprise database.
|
static java.lang.String |
DATABASE_ACCESS_RETURN_ALL_ENTITY_INSTANCES
Indicates that all entity instances in working memory, including the ones retrieved from
the database are returned as part of the response.
|
static java.lang.String |
DATABASE_ACCESS_RETURN_INCOMING_NEW_ENTITY_INSTANCES
Indicates that only entity instances that arrived as part of the incoming request and those
instantiated by rules are returned as part of the response.
|
static java.lang.String |
LICENSE_BATCHPROCESSING_ENABLED
Property name that is used to get the value that enables database batch processing inside a Decision Service.
|
static java.lang.String |
LICENSE_DATE_GRANTED
Property name that is used to get the date the Server License was issued.
|
static java.lang.String |
LICENSE_DEACTIVATE_DATE
Property name that is used to get the date when the Corticon Server expires.
|
static java.lang.String |
LICENSE_DEACTIVATE_DATE_OVERRIDE
Property name that is used to get the value that disables license expiration.
|
static java.lang.String |
LICENSE_DOTNET_ENABLED
Property name that is used to determine if the Corticon Server can run .Net
|
static java.lang.String |
LICENSE_EXECUTION_QUEUE_SIZE
Property name that is used to determine how many concurrent executions can occur in the CcServer
|
static java.lang.String |
LICENSE_LOCATION
Property name that is used to get the location of the License file on the Classpath.
|
static java.lang.String |
LICENSE_MAX_NUMBER_OF_RULES
Property name that is used to get max number of rules that can be deployed on the Corticon Server.
|
static java.lang.String |
LICENSE_MAX_POOLS
Property name that is used to get max number of Decision Services that can be deployed on the Corticon Server.
|
static java.lang.String |
LICENSE_MAX_REACTORS
Property name that is used to get max number of Reactor instances that can be in each Decision Service Pool.
|
static java.lang.String |
LICENSE_OEM_NAME
Property name that is used to get the registered name associated with the Server License.
|
static java.lang.String |
LICENSE_SINGLE_EXECUTION_DB_ACCESS_ENABLED
Property name that is used to get the value that enables single database executions.
|
static java.lang.String |
LICENSE_SINGLE_EXECUTION_ENABLED
Property name that is used to get the value that enables single non-database executions.
|
static java.lang.String |
LOG_FILTERS_ACCEPT
Property name that is used to get or set log marker filters.
|
static java.lang.String |
LOG_LEVEL
Property name that is used to get or set the log level.
|
static java.lang.String |
LOG_PATH
Property name that is used to get or set the log file path.
|
static java.lang.String |
LOG_PER_DS
Property name that is used to get or set decision service specific logging.
|
static java.lang.String |
LOG_ROLLOVER
Property name that is used to get or set log file daily rollover behavior.
|
static java.lang.String |
LOG_ROLLOVERS_TO_KEEP
Property name that is used to get or set the maximum number of rollover log files.
|
static java.lang.String |
PROPERTY_ACTIVE_POOL
Property name that is used to get the active value for a Decision Service.
|
static java.lang.String |
PROPERTY_AUTO_RELOAD
Property name that is used to get the auto reload value for a Decision Service.
|
static java.lang.String |
PROPERTY_CURRENTLY_RUNNING_IN_BATCH_MODE
Property name that is used to get the running in batch mode value for a Decision Service.
|
static java.lang.String |
PROPERTY_DATABASE_ACCESS_CACHING_ENABLED
Property name that is used to get the value that tells whether this Decision Service has Caching turned on
|
static java.lang.String |
PROPERTY_DATABASE_ACCESS_MODE
Property name that is used to get the database access mode for a Decision Service.
|
static java.lang.String |
PROPERTY_DATABASE_ACCESS_PROPERTIES
Property name that is used to get the string representation of the database access properties object for a Decision Service.
|
static java.lang.String |
PROPERTY_DATABASE_ACCESS_PROPERTIES_PATH
Property name that is used to get the path to the properties file that was loaded for a Decision Service
|
static java.lang.String |
PROPERTY_DATABASE_ACCESS_RETURN_ENTITIES_MODE
Property name that is used to get the return policy for database access executions for a Decision Service.
|
static java.lang.String |
PROPERTY_DATASOURCE_CONFIG_FILE_CONTENTS
Property name that is used to get the string representation of the datasource configuration properties object for a Decision Service.
|
static java.lang.String |
PROPERTY_DATASOURCE_CONFIG_FILE_PATH
Property name that is used to get the string representation of the datasource xml file object for a Decision Service.
|
static java.lang.String |
PROPERTY_DECISION_SERVICE_DETAILS
Property name that is used to get the details of the Decision Service in a String representation of a JSONObject.
|
static java.lang.String |
PROPERTY_DECISION_SERVICE_HAS_RULEASSETS_CHANGED
Property name that is used to check to see if any of the associated RuleAssets have changed based on their timestamp.
|
static java.lang.String |
PROPERTY_DECISION_SERVICE_QUERY_SERVICE_LAST_LOAD
Property name that is used to determine when the Query Service was last loaded for a Decision Service.
|
static java.lang.String |
PROPERTY_DEPLOYED_EDS
Property name that is used to determine if the deployment of the Decision Service used a .eds file instead of a .erf file.
|
static java.lang.String |
PROPERTY_DEPLOYMENT_TIMESTAMP
Property name that is used to get the time when the Decision Service was deployed.
|
static java.lang.String |
PROPERTY_EDS_FILE_TIMESTAMP
Property name that is used to get the time of the .eds file's timestamp
|
static java.lang.String |
PROPERTY_EDS_HAS_WSDL
Property name that is used to get whether or not the EDS file contains a WSDL document
|
static java.lang.String |
PROPERTY_EDS_URI
Property name that is used to get the path of the Rule Asset (.erf file, if a .eds file was deployed).
|
static java.lang.String |
PROPERTY_EDS_URI_RELATIVE
Property name that is used to get the relative path of the deployed EDS in relation to the CcServerSandbox Directory.
|
static java.lang.String |
PROPERTY_EFFECTIVE_END_DATE
Property name that is used to get the effective end date for a Decision Service.
|
static java.lang.String |
PROPERTY_EFFECTIVE_START_DATE
Property name that is used to get the effective start date for a Decision Service.
|
static java.lang.String |
PROPERTY_EXECUTION_ENABLE_RULETRACE |
static java.lang.String |
PROPERTY_EXECUTION_LOCALE
Property name that is used to get the Decision Service's execution locale.
|
static java.lang.String |
PROPERTY_EXECUTION_RESTRICT_RESPONSE_TO_RULEMESSAGES_ONLY
Property name that is used to get the Decision Service's restrict the CorticonResponse to only RuleMessages.
|
static java.lang.String |
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_INFO
Property name that is used to get the Decision Service's restrict Info RuleMessages.
|
static java.lang.String |
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_VIOLATION
Property name that is used to get the Decision Service's restrict Violation RuleMessages.
|
static java.lang.String |
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_WARNING
Property name that is used to get the Decision Service's restrict Warning RuleMessages.
|
static java.lang.String |
PROPERTY_EXECUTION_TIMEZONE |
static java.lang.String |
PROPERTY_IS_DEPLOYED
Property name that is used to determine if a particular Decision Service is deployed..
|
static java.lang.String |
PROPERTY_LAST_EXECUTION_TIMESTAMP
Property name that is used to get the timestamp of the last execution against a specific Decision Service.
|
static java.lang.String |
PROPERTY_LOADED_FROM_CDD
Property name that is used to get the loaded from CDD value for a Decision Service.
|
static java.lang.String |
PROPERTY_MAJOR_VERSION_NUMBER
Property name that is used to get the version number for a Decision Service.
|
static java.lang.String |
PROPERTY_MAX_POOL_SIZE
Property name that is used to get the maximum pool size for a Decision Service.
|
static java.lang.String |
PROPERTY_MESSAGE_STRUCTURE_TYPE
Property name that is used to get the message structure type for a Decision Service.
|
static java.lang.String |
PROPERTY_MINOR_VERSION_NUMBER
Property name that is used to get the version number for a Decision Service.
|
static java.lang.String |
PROPERTY_NUMBER_OF_RULES_DEPLOYED
Property name that is used to get the number of rules deployed in the Decision Service.
|
static java.lang.String |
PROPERTY_PATH_TO_CDD
Property name that is used to get the path to CDD value for a Decision Service.
|
static java.lang.String |
PROPERTY_REACTORS_CURRENT_STATE
Property name that is used to get a description of the current state of all the Reactors for the Decision Service
|
static java.lang.String |
PROPERTY_REACTORS_CURRENTLY_PROCESSING
Property name that is used to get the number of reactors that are currently processing for a Decision Service.
|
static java.lang.String |
PROPERTY_REACTORS_CURRENTLY_QUEUED
Property name that is used to get the number of reactors that are waiting in the Execution Queie
|
static java.lang.String |
PROPERTY_REACTORS_WAITING_IN_POOL
Property name that is used to get the number of available reactors that are waiting Decision Service.
|
static java.lang.String |
PROPERTY_RULEASSET_URI
Property name that is used to get the path of the Rule Asset (.erf file or .eds file that was deployed).
|
static java.lang.String |
PROPERTY_TOTAL_EXECUTION_COUNT
Property name that is used to get the total execution count for specific Decision Service.
|
static java.lang.String |
PROPERTY_TOTAL_EXECUTION_TIME
Property name that is used to get the total execution time for specific Decision Service.
|
static java.lang.String |
PROPERTY_VERSION_LABEL
Property name that is used to get the version label for a Decision Service.
|
static java.lang.String |
PROPERTY_VERSION_NUMBER
Property name that is used to get the version number for a Decision Service.
|
static java.lang.String |
PROPERTY_VOCABULARY_METADATA
Property name that is used to return the vocabulary metadata for the specified Decision Service.
|
static java.lang.String |
PROPERTY_WEB_CONSOLE_ASSET_ID
Property name that is used to set the Web Console Asset identifier.
|
static java.lang.String |
PROPERTY_WSDL
Property name that is used to get the WSDL for the Decision Service.
|
static java.lang.String |
PROPERTY_XML_REPORT
Property name that is used to get the XML Report for the Decision Service.
|
static java.lang.String |
XML_FLAT_STYLE
A style of XML message where all business object associations are captured using href's,
resulting in a "flat" XML document.
|
static java.lang.String |
XML_HIER_STYLE
A style of XML message where all business object associations are captured using embeddings,
resulting in a hierarchical XML document.
|
static java.lang.String |
XML_STYLE_AUTODETECT
The server auto-detects the style of XML message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDecisionService(java.lang.String astrDecisionServiceName,
java.lang.String astrRuleAssetPath,
java.util.Properties apropDeploymentOptions)
Invokes
addDecisionService(astrDecisionServiceName, astrEdsPath, Properties) |
void |
deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrRegisteredTrackingAttribute)
Deregisters a particular attribute in Corticon Data Monitoring subsystem.
|
void |
deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrRegisteredTrackingAttribute)
Invokes
deregisterTrackingAttribute(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
void |
deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
java.lang.String astrRegisteredTrackingAttribute)
Invokes
deregisterTrackingAttribute(astrDecisionServiceName, . |
org.jdom.Document |
execute(org.jdom.Document aCorticonRequestDoc)
Equivalent to the method
execute(String), except that the CorticonRequest &
CorticonResponse documents are JDOM XML. |
org.jdom.Document |
execute(org.jdom.Document aCorticonRequestDoc,
ICcServerHttpInfo aCcServerHttpInfo)
Equivalent to the method
execute(String, ICcServerHttpInfo), except that the CorticonRequest &
CorticonResponse documents are JDOM XML. |
org.json.JSONObject |
execute(org.json.JSONObject ajsonObjectPayload)
Invoke a specific Decision Service by passing in a
JSONObject. |
org.json.JSONObject |
execute(org.json.JSONObject ajsonObjectPayload,
ICcServerHttpInfo aCcServerHttpInfo)
Equivalent to
execute(JSONObject), except for this method accepts ICcServerHttpInfo |
java.lang.String |
execute(java.lang.String astrCorticonRequest)
Invoke a specific Decision Service by passing in a
CorticonRequest XML message in String form. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Collection acolWorkObjs,
java.util.Date adDecisionServiceEffectiveTimestamp)
Similar to
execute(String, Collection) except that the user can specify what effective timestamp
should be using using the parameter adDecisionServiceEffectiveTimestamp. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Collection acolWorkObjs,
java.util.Date adDecisionServiceEffectiveTimestamp,
int aiDecisionServiceTargetMajorVersion)
Similar to
execute(String, Collection, Date) except that the user can specify what major version number
should be using for the parameter aiDecisionServiceTargetMajorVersion. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Collection acolWorkObjs,
int aiDecisionServiceTargetMajorVersion)
Similar to
execute(String, Collection) except that the user can specify which Major Version of the Decision Service
should process the request using parameter aiDecisionServiceTargetVersion. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Collection acolWorkObjs,
int aiDecisionServiceTargetMajorVersion,
int aiDecisionServiceTargetMinorVersion)
Similar to
execute(String, Collection, int) except that the user can specify which Minor Version of the Decision Service
should process the request using parameter aiDecisionServiceTargetVersion. |
java.lang.String |
execute(java.lang.String astrCorticonRequest,
ICcServerHttpInfo aCcServerHttpInfo)
Equivalent to the method
execute(String), except for this method accepts ICcServerHttpInfo |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Map amapWorkObjs,
java.util.Date adDecisionServiceEffectiveTimestamp)
Equivalent to the method
execute(String, Collection, Date), except that a Map
is passed in instead of a Collection. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Map amapWorkObjs,
java.util.Date adDecisionServiceEffectiveTimestamp,
int aiDecisionServiceTargetMajorVersion)
Equivalent to the method
execute(String, Collection, Date, int), except that a Map
is passed in instead of a Collection. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Map acolWorkObjs,
int aiDecisionServiceTargetMajorVersion)
Equivalent to the method
execute(String, Collection, int), except that a Map
is passed in instead of a Collection. |
ICcRuleMessages |
execute(java.lang.String astrDecisionServiceName,
java.util.Map acolWorkObjs,
int aiDecisionServiceTargetMajorVersion,
int aiDecisionServiceTargetMinorVersion)
Equivalent to the method
execute(String, Collection, int, int), except that a Map
is passed in instead of a Collection. |
org.json.JSONObject |
getBatchExecutionDetails(java.lang.String astrBatchExecutionId)
This method will return a JSONObject that contains all the details the Batch Execution for the passed in Id.
|
java.util.List<java.lang.String> |
getBatchExecutionIds()
This method will start a Batch Execution against a particular Decision Service based on the Batch Processing Properties
outlined in the passed in JSONObject.
|
java.lang.String |
getCcPropertyValue(java.lang.String astrPropertyName)
Returns a
String value of any Corticon Property that is inside the CcConfig.jar. |
java.lang.String |
getCcServerInfo()
Returns a
String in XML format that describes the current state of the CcServer. |
java.lang.String |
getCcServerLicenseValue(java.lang.String astrPropertyName)
Returns a requested Corticon Server License value.
|
java.lang.String |
getCompilationDirectoryPath()
Return the current directory that the Server uses to compile assets.
|
java.util.List |
getDecisionServiceDetailsAll()
Invokes
getDecisionServiceDetailsAll( |
java.util.List |
getDecisionServiceDetailsAll(java.lang.String astrDecisionServiceName)
Invokes
getDecisionServiceDetailsAll(astrDecisionServiceName, |
java.util.List |
getDecisionServiceDetailsAll(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
Returns the String object representation for the specified decision service.
|
java.lang.String |
getDecisionServiceDirectoryPath()
Return the current directory that the Server uses to store the compiled Decision Services.
|
java.util.Collection |
getDecisionServiceNames()
Returns a
Collection of Decision Service name Strings that are currently loaded into
the Corticon Server. |
java.lang.String |
getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrPropertyName)
Get a particular property value related to a specific Decision Service based on name and major and minor version number.
|
java.lang.String |
getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrPropertyName)
Invokes
getDecisionServicePropertyValue(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
java.lang.String |
getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
java.lang.String astrPropertyName)
Invokes
getDecisionServicePropertyValue(astrDecisionServiceName, . |
java.lang.String |
getDeploymentDescriptorDirectoryPath()
Returns the current directory that the Maintenance Service looks for new CDD files to be auto-deployed.
|
java.lang.String |
getLicensePath()
Get the location of the CcLicense.jar that the CcServer is using.
|
java.lang.String |
getSandboxDirectoryPath()
Returns the current directory that the Server Sandbox is located.
|
long |
getTotalExecutionCount()
Returns the total execution count across all Decision Service Versions.
|
long |
getTotalExecutionTime()
Returns the total execution time across all Decision Service Versions.
|
boolean |
isCcServerRunning()
Allows a client application to ask the CcServer it is up and running.
|
boolean |
isCDDFileDeployed(java.lang.String astrPathToCddFile)
Returns a
boolean based on whether the CDD has been deployed in the CcServer. |
boolean |
isDecisionServiceDeployed(java.lang.String astrDecisionServiceName)
Invokes
isDecisionServiceDeployed(astrDecisionServiceName, . |
boolean |
isDecisionServiceDeployed(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
Invokes
isDecisionServiceDeployed(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
boolean |
isDecisionServiceDeployed(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
Query the CcServer to determine is a Decision Service has already been deployed under a specific name and Major Version number and Minor Version number
|
boolean |
isDynamicUpdateMonitoringServiceRunning()
See
startDynamicUpdateMonitorService. |
boolean |
isServerDiagnosticServiceRunning()
See
startServerDiagnosticService. |
boolean |
isServerExecutionTimesIntervalServiceRunning()
See
startServerExecutionTimesIntervalService. |
boolean |
isServerResultsDistributionMonitoringServiceRunning()
See
startServerResultsDistributionMonitoringService. |
void |
loadFromCdd(java.lang.String astrCddPath)
Deploys the specified Corticon Deployment Descriptor (CDD).
|
void |
loadFromCddDir(java.lang.String astrCddDirPath)
Deploys all decision services in all Corticon Deployment Descriptor (CDD) files in a specified directory.
|
void |
registerTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
Registers a particular attribute in Corticon Data Monitoring subsystem.
|
void |
registerTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
Invokes
registerTrackingAttribute(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
void |
registerTrackingAttribute(java.lang.String astrDecisionServiceName,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
Invokes
registerTrackingAttribute(astrDecisionServiceName, . |
void |
reloadAllDecisionServicesQueryService()
This method will go to each Decision Service and reload the Query Service data from the Database.
|
void |
reloadDecisionService(java.lang.String astrDecisionServiceName)
Invokes
reloadDecisionService(astrDecisionServiceName, . |
void |
reloadDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceVersion)
Invokes
reloadDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
void |
reloadDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
Reload a specific deployed Major Version and Minor Version of a Decision Service.
|
void |
reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName)
Invokes
reloadDecisionServiceQueryService(astrDecisionServiceName, |
void |
reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
Invokes
reloadDecisionServiceQueryService(astrDecisionServiceName, aiDecisionServiceMajorVersion, |
void |
reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
This method will reload the Query Service data from the Database for the desired Decision Service.
|
void |
removeDecisionService(java.lang.String astrDecisionServiceName)
Invokes
removeDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
void |
removeDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
Invokes
removeDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, . |
void |
removeDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
Removes version
aiDecisionServiceMajorVersion and aiDecisionServiceMinorVersion of Decision Service astrDecisionServiceName and all
associated Corticon Engines in its pool (if any). |
void |
setCcPropertyValue(java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
Sets the property values of limited number of properties that can be changed at runtime.
|
void |
setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiMajorVersionNumber,
int aiMinorVersionNumber,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
Set a new property value related to a specific Decision Service based on name and major and minor version number.
|
void |
setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiMajorVersionNumber,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
Invokes
setDecisionServicePropertyValue(astrDecisionServiceName, aiMajorVersionNumber, . |
void |
setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
Invokes
setDecisionServicePropertyValue(astrDecisionServiceName, . |
void |
setDeploymentDescriptorDirectoryPath(java.lang.String astrDeploymentDirectoryPath)
Sets the current directory that the Maintenance Service looks for new CDD files to be auto-deployed.
|
void |
setDiagnosticsEnabled(boolean abValue)
Enable/Disable server diagnostic data collection.
|
void |
setIntervalProcessingEnabled(boolean abValue)
Enable/Disable the Interval Time processing
|
void |
setLicensePath(java.lang.String astrLicensePath)
Set the location of the CcLicense.jar that the CcServer should use.
|
void |
setLogLevel(java.lang.String astrLogPath)
Sets the Log level for the server.
|
void |
setLogPath(java.lang.String astrLogPath)
Sets the path for the Corticon Server log files.
|
void |
setServerDiagnosticsWaitTime(long alWaitTime)
Change the wait time for the Diagnostic service.
|
void |
setServerExecutionTimesIntervalTime(long alInterval)
Change the interval time that the Server Execution Times Interval Service uses to determine when to record interval values.
|
java.lang.String |
startBatchExecution(org.json.JSONObject ajsonObjectBatchProcessingProperties)
This method will start a Batch Execution against a particular Decision Service based on the Batch Processing Properties
outlined in the passed in JSONObject.
|
void |
startDynamicUpdateMonitoringService()
Each Decision Service and each CDD loaded into the Server is monitored by a Maintenance thread at intervals of X
where X is the number of milliseconds in the
CcConfig.jar|CcServer.properties|
com.corticon.ccserver.dynamicUpdateMonitoringService.serviceIntervals. |
void |
startServerDiagnosticService()
This will start the Diagnostic Service.
|
void |
startServerExecutionTimesIntervalService()
Each Decision Service loaded into the Server is monitored by an Server Execution Times Interval Service thread at intervals of X
that will keep track of total execution times, total execution count, and the average execution times for all
executions that occurred during each interval.
|
void |
startServerResultsDistributionMonitoringService()
This will inform the Corticon Server to perform three separate tasks on the Decision Service Version for each execution.
|
void |
stopBatchExecution(java.lang.String astrBatchExecutionId)
This method will stop a Batch Execution based on the passed in Id.
|
void |
stopDynamicUpdateMonitoringService()
See
startDynamicUpdateMonitorService. |
void |
stopServerDiagnosticService()
Start Diagnostic Logging Service
|
void |
stopServerExecutionTimesIntervalService()
See
stopServerExecutionTimesIntervalService. |
void |
stopServerResultsDistributionMonitoringService()
See
startServerResultsDistributionMonitoringService. |
static final java.lang.String XML_HIER_STYLE
static final java.lang.String XML_FLAT_STYLE
static final java.lang.String XML_STYLE_AUTODETECT
static final java.lang.String DATABASE_ACCESS_NONE
static final java.lang.String DATABASE_ACCESS_READ_ONLY
static final java.lang.String DATABASE_ACCESS_READ_WRITE
static final java.lang.String DATABASE_ACCESS_RETURN_ALL_ENTITY_INSTANCES
static final java.lang.String DATABASE_ACCESS_RETURN_INCOMING_NEW_ENTITY_INSTANCES
static final java.lang.String CCPROPERTY_VERSION_NUMBER
getCcPropertyValue(String),
Constant Field Valuesstatic final java.lang.String CCPROPERTY_SERVICE_RELEASE_NUMBER
getCcPropertyValue(String),
Constant Field Valuesstatic final java.lang.String CCPROPERTY_BUILD_NUMBER
getCcPropertyValue(String),
Constant Field Valuesstatic final java.lang.String CCPROPERTY_FULL_VERSION_NUMBER
getCcPropertyValue(String),
Constant Field Valuesstatic final java.lang.String LICENSE_LOCATION
static final java.lang.String LICENSE_OEM_NAME
static final java.lang.String LICENSE_DATE_GRANTED
static final java.lang.String LICENSE_MAX_POOLS
static final java.lang.String LICENSE_MAX_REACTORS
static final java.lang.String LICENSE_MAX_NUMBER_OF_RULES
static final java.lang.String LICENSE_DEACTIVATE_DATE
static final java.lang.String LICENSE_DEACTIVATE_DATE_OVERRIDE
static final java.lang.String LICENSE_SINGLE_EXECUTION_ENABLED
static final java.lang.String LICENSE_SINGLE_EXECUTION_DB_ACCESS_ENABLED
static final java.lang.String LICENSE_BATCHPROCESSING_ENABLED
static final java.lang.String LICENSE_EXECUTION_QUEUE_SIZE
static final java.lang.String LICENSE_DOTNET_ENABLED
static final java.lang.String PROPERTY_IS_DEPLOYED
static final java.lang.String PROPERTY_RULEASSET_URI
static final java.lang.String PROPERTY_EDS_URI
static final java.lang.String PROPERTY_EDS_HAS_WSDL
static final java.lang.String PROPERTY_EDS_URI_RELATIVE
static final java.lang.String PROPERTY_EDS_FILE_TIMESTAMP
static final java.lang.String PROPERTY_DEPLOYMENT_TIMESTAMP
static final java.lang.String PROPERTY_MAX_POOL_SIZE
static final java.lang.String PROPERTY_AUTO_RELOAD
static final java.lang.String PROPERTY_VERSION_NUMBER
static final java.lang.String PROPERTY_MAJOR_VERSION_NUMBER
static final java.lang.String PROPERTY_MINOR_VERSION_NUMBER
static final java.lang.String PROPERTY_EFFECTIVE_START_DATE
static final java.lang.String PROPERTY_EFFECTIVE_END_DATE
static final java.lang.String PROPERTY_VERSION_LABEL
static final java.lang.String PROPERTY_ACTIVE_POOL
static final java.lang.String PROPERTY_LOADED_FROM_CDD
static final java.lang.String PROPERTY_PATH_TO_CDD
static final java.lang.String PROPERTY_CURRENTLY_RUNNING_IN_BATCH_MODE
static final java.lang.String PROPERTY_REACTORS_CURRENTLY_PROCESSING
static final java.lang.String PROPERTY_REACTORS_WAITING_IN_POOL
static final java.lang.String PROPERTY_REACTORS_CURRENTLY_QUEUED
static final java.lang.String PROPERTY_REACTORS_CURRENT_STATE
static final java.lang.String PROPERTY_NUMBER_OF_RULES_DEPLOYED
static final java.lang.String PROPERTY_MESSAGE_STRUCTURE_TYPE
static final java.lang.String PROPERTY_DEPLOYED_EDS
static final java.lang.String PROPERTY_WSDL
static final java.lang.String PROPERTY_XML_REPORT
static final java.lang.String PROPERTY_LAST_EXECUTION_TIMESTAMP
static final java.lang.String PROPERTY_TOTAL_EXECUTION_COUNT
static final java.lang.String PROPERTY_TOTAL_EXECUTION_TIME
static final java.lang.String PROPERTY_VOCABULARY_METADATA
static final java.lang.String PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_INFO
getDecisionServicePropertyValue(String, String),
getDecisionServicePropertyValue(String, int, String),
getDecisionServicePropertyValue(String, int, int, String),
#modifyDecisionServiceExecutionProperty(String, String, String),
#modifyDecisionServiceExecutionProperty(String, int, String, String),
#modifyDecisionServiceExecutionProperty(String, int, int, String, String),
Constant Field Valuesstatic final java.lang.String PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_WARNING
getDecisionServicePropertyValue(String, String),
getDecisionServicePropertyValue(String, int, String),
getDecisionServicePropertyValue(String, int, int, String),
#modifyDecisionServiceExecutionProperty(String, String, String),
#modifyDecisionServiceExecutionProperty(String, int, String, String),
#modifyDecisionServiceExecutionProperty(String, int, int, String, String),
Constant Field Valuesstatic final java.lang.String PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_VIOLATION
getDecisionServicePropertyValue(String, String),
getDecisionServicePropertyValue(String, int, String),
getDecisionServicePropertyValue(String, int, int, String),
#modifyDecisionServiceExecutionProperty(String, String, String),
#modifyDecisionServiceExecutionProperty(String, int, String, String),
#modifyDecisionServiceExecutionProperty(String, int, int, String, String),
Constant Field Valuesstatic final java.lang.String PROPERTY_EXECUTION_RESTRICT_RESPONSE_TO_RULEMESSAGES_ONLY
getDecisionServicePropertyValue(String, String),
getDecisionServicePropertyValue(String, int, String),
getDecisionServicePropertyValue(String, int, int, String),
#modifyDecisionServiceExecutionProperty(String, String, String),
#modifyDecisionServiceExecutionProperty(String, int, String, String),
#modifyDecisionServiceExecutionProperty(String, int, int, String, String),
Constant Field Valuesstatic final java.lang.String PROPERTY_EXECUTION_LOCALE
static final java.lang.String PROPERTY_EXECUTION_TIMEZONE
static final java.lang.String PROPERTY_EXECUTION_ENABLE_RULETRACE
static final java.lang.String PROPERTY_DATABASE_ACCESS_MODE
static final java.lang.String PROPERTY_DATABASE_ACCESS_PROPERTIES
static final java.lang.String PROPERTY_DATASOURCE_CONFIG_FILE_CONTENTS
static final java.lang.String PROPERTY_DATASOURCE_CONFIG_FILE_PATH
static final java.lang.String PROPERTY_DATABASE_ACCESS_PROPERTIES_PATH
static final java.lang.String PROPERTY_DATABASE_ACCESS_CACHING_ENABLED
static final java.lang.String PROPERTY_DATABASE_ACCESS_RETURN_ENTITIES_MODE
static final java.lang.String PROPERTY_DECISION_SERVICE_DETAILS
static final java.lang.String PROPERTY_DECISION_SERVICE_HAS_RULEASSETS_CHANGED
static final java.lang.String PROPERTY_DECISION_SERVICE_QUERY_SERVICE_LAST_LOAD
static final java.lang.String PROPERTY_WEB_CONSOLE_ASSET_ID
static final java.lang.String LOG_LEVEL
static final java.lang.String LOG_PATH
static final java.lang.String LOG_ROLLOVER
static final java.lang.String LOG_ROLLOVERS_TO_KEEP
static final java.lang.String LOG_FILTERS_ACCEPT
static final java.lang.String LOG_PER_DS
void addDecisionService(java.lang.String astrDecisionServiceName,
java.lang.String astrRuleAssetPath,
java.util.Properties apropDeploymentOptions)
throws CcServerDecisionServiceAlreadyRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
addDecisionService(astrDecisionServiceName, astrEdsPath, Properties)astrDecisionServiceName - - logical name of the Decision Service (and thus corresponding Corticon Engine pool).astrRuleAssetPath - - path to the Ruleflow .erf or pre-compiled .eds file containing the Decision Service rules.apropDeploymentOptions - - a properties object that contains all the deployment options for this Decision Service.CcServerDecisionServiceAlreadyRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionvoid deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrRegisteredTrackingAttribute)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException,
CcServerTimeoutException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedastrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
registerTrackingAttribute(String, int, String, String),
deregisterTrackingAttribute(String, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
startServerResultsDistributionMonitoringService(),
stopServerResultsDistributionMonitoringService()void deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrRegisteredTrackingAttribute)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException,
CcServerTimeoutException
deregisterTrackingAttribute(astrDecisionServiceName, aiDecisionServiceMajorVersion, , astrRegisteredTrackingAttribute) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedastrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
registerTrackingAttribute(String, int, String, String),
deregisterTrackingAttribute(String, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
startServerResultsDistributionMonitoringService(),
stopServerResultsDistributionMonitoringService()void deregisterTrackingAttribute(java.lang.String astrDecisionServiceName,
java.lang.String astrRegisteredTrackingAttribute)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerTimeoutException,
CcServerLicenseViolationException
deregisterTrackingAttribute(astrDecisionServiceName, , astrRegisteredTrackingAttribute) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).astrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
registerTrackingAttribute(String, int, String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
startServerResultsDistributionMonitoringService(),
stopServerResultsDistributionMonitoringService()org.jdom.Document execute(org.jdom.Document aCorticonRequestDoc)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerLicenseViolationException,
CcServerTimeoutException
execute(String), except that the CorticonRequest &
CorticonResponse documents are JDOM XML. Although, the aCorticonRequest parameter
is directly updated during the processing of the request and in effect is passed-by-reference, the updates to
"WorkDocuments" should be obtained by examining the returning CorticonResponse
Document.aCorticonRequestDoc - - a JDOM representation of the CorticonRequestCorticonResponse DocumentCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String)org.jdom.Document execute(org.jdom.Document aCorticonRequestDoc,
ICcServerHttpInfo aCcServerHttpInfo)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerLicenseViolationException,
CcServerTimeoutException
execute(String, ICcServerHttpInfo), except that the CorticonRequest &
CorticonResponse documents are JDOM XML. Although, the aCorticonRequest parameter
is directly updated during the processing of the request and in effect is passed-by-reference, the updates to
"WorkDocuments" should be obtained by examining the returning CorticonResponse
Document.
The asrtServerLocation is a license restriction that has been added to 5.3.2. Only use this method if instructed by
Professional Services.aCorticonRequestDoc - - a JDOM representation of the CorticonRequestaCcServerHttpInfo - - ICcServerHttpInfo Object containing http headers informationCorticonResponse DocumentCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String)java.lang.String execute(java.lang.String astrCorticonRequest)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerLicenseViolationException,
CcServerTimeoutException
CorticonRequest XML message in String form. CorticonRequest root element is comprised of: decisionServiceName attribute - refers to the logical decision "Service" name that should process the request.decisionServiceTargetVersion attribute - the Decision Service version that should process this request.decisionServiceEffectiveTimestamp attribute - the effective timestamp the Server should use to process this request.WorkDocuments element - contains a payload of possibly interrelated business entity instances.CorticonResponse.CorticonResponse XML document. CorticonResponse root element is comprised of:WorkDocuments element - the incoming "WorkDocuments" possibly updated by the decision servicesMessages element - an audit trace of rule firings associated to specific entity instances within
WorkDocuments.WorkDocuments payload contains instances of entities defined in
the vocabulary that the decision service is based on. The structure of WorkDocuments is described by the XML Schemas
as generated by the Corticon utilities for the target decision service.
This method should also be used for SOAP messaging. The container must have a means of processing document-style
(message-style) incoming SOAP calls, extract and forward the payload to this method. The structure of the SOAP
request is defined by the WSDL documents generated by the Corticon utilities for the target decision
service. The WSDL defines a service under soapAction="urn:Corticon" with a single method "processRequest" that
takes as input an XML document containing a CorticonRequest (the SOAP call payload) and returning
an XML document containing a CorticonResponse.
The decisionServiceTargetVersion and decisionServiceEffectiveTimestamp
attributes are mutually exclusive and optional. If they both contain a null value then the server selects the
latest effective version of the Decision Service to process the request. If no effective Decision Service is found
then a CcServerDecisionServiceNotRegisteredException is thrown. If they both contain a non-null value
then a CcServerInvalidArgumentException is thrown. The decisionServiceTargetVersion
attribute determines a specific version of the Decision Service that should be used to process this
request. If the requested version is not currently loaded in the Server then a
CcServerDecisionServiceNotRegisteredException is thrown. The adDecisionServiceEffectiveTimestamp
attriubtes tells the server to assume the request had arrived at a different point in time. This timestamp is used
to determine which version of the Decision Service must process the request. If no effective Decision Service is
found for the given timestamp then a CcServerDecisionServiceNotRegisteredException is thrown.
astrCorticonRequest - - a CorticonRequest XML Document compliant with the XSD contract
of the decision service.CorticonResponse XML Document compliant with the XSD contract of the decision service.CcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionjava.lang.String execute(java.lang.String astrCorticonRequest,
ICcServerHttpInfo aCcServerHttpInfo)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerLicenseViolationException,
CcServerTimeoutException
execute(String), except for this method accepts ICcServerHttpInfoastrCorticonRequest - - a CorticonResponse XML Document compliant with the XSD contract of the decision service.aCcServerHttpInfo - - ICcServerHttpInfo Object containing http headers informationCorticonResponse XML Document compliant with the XSD contract of the decision service.CcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Collection acolWorkObjs, java.util.Date adDecisionServiceEffectiveTimestamp) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection) except that the user can specify what effective timestamp
should be using using the parameter adDecisionServiceEffectiveTimestamp. This parameter tells the
server to assume the request had arrived at a different point in time. This timestamp is used
to determine which version of the Decision Service must process the request. If no effective Decision Service is
found for the given timestamp then a CcServerDecisionServiceNotRegisteredException is thrown. Since no
major version number is specified, the CcServer will start at the highest major/minor version Decision Service version
and then work backwards to find the first matching Deciison Service version.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.acolWorkObjs - - a Collection of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).adDecisionServiceEffectiveTimestamp - - the effective timestamp the Server should use to process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutException#execute(String, Collection)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Collection acolWorkObjs, java.util.Date adDecisionServiceEffectiveTimestamp, int aiDecisionServiceTargetMajorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, Date) except that the user can specify what major version number
should be using for the parameter aiDecisionServiceTargetMajorVersion. This parameter limits the matching of
the Decision Service to also have its Major Version Number equal to aiDecisionServiceTargetMajorVersion.
If no Decision Service is found that satisfies the adDecisionServiceEffectiveTimestamp and aiDecisionServiceTargetMajorVersion
criteria, then a CcServerDecisionServiceNotRegisteredException is thrown.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.acolWorkObjs - - a Collection of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).adDecisionServiceEffectiveTimestamp - - the effective timestamp the Server should use to process this requestaiDecisionServiceTargetMajorVersion - - the Decision Service Major version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutException#execute(String, Collection),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Collection acolWorkObjs, int aiDecisionServiceTargetMajorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection) except that the user can specify which Major Version of the Decision Service
should process the request using parameter aiDecisionServiceTargetVersion. If the requested version is
not currently loaded in the Server then a CcServerDecisionServiceNotRegisteredException is thrown.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.acolWorkObjs - - a Collection of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).aiDecisionServiceTargetMajorVersion - - the Decision Service Major Version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutException#execute(String, Collection),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Collection acolWorkObjs, int aiDecisionServiceTargetMajorVersion, int aiDecisionServiceTargetMinorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, int) except that the user can specify which Minor Version of the Decision Service
should process the request using parameter aiDecisionServiceTargetVersion. If the requested version is
not currently loaded in the Server then a CcServerDecisionServiceNotRegisteredException is thrown.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.acolWorkObjs - - a Collection of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).aiDecisionServiceTargetMajorVersion - - the Decision Service Major version that should process this requestaiDecisionServiceTargetMinorVersion - - the Decision Service Minor version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutException#execute(String, Collection),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Map amapWorkObjs, java.util.Date adDecisionServiceEffectiveTimestamp) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, Date), except that a Map
is passed in instead of a Collection. The Map contain name-value pairs of
business objects. The names will stay intact during processing of the Decision Service. Only the business
objects may be updated.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.amapWorkObjs - - a Map of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).adDecisionServiceEffectiveTimestamp - - the effective timestamp the Server should use to process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String, Collection, Date),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Map amapWorkObjs, java.util.Date adDecisionServiceEffectiveTimestamp, int aiDecisionServiceTargetMajorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, Date, int), except that a Map
is passed in instead of a Collection. The Map contain name-value pairs of
business objects. The names will stay intact during processing of the Decision Service. Only the business
objects may be updated.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.amapWorkObjs - - a Map of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).adDecisionServiceEffectiveTimestamp - - the effective timestamp the Server should use to process this requestaiDecisionServiceTargetMajorVersion - - the Decision Service Major version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String, Collection, Date),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Map acolWorkObjs, int aiDecisionServiceTargetMajorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, int), except that a Map
is passed in instead of a Collection. The Map contain name-value pairs of
business objects. The names will stay intact during processing of the Decision Service. Only the business
objects may be updated.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.amapWorkObjs - - a Map of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).aiDecisionServiceTargetMajorVersion - - the Decision Service Major version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String, Collection, int),
execute(String)ICcRuleMessages execute(java.lang.String astrDecisionServiceName, java.util.Map acolWorkObjs, int aiDecisionServiceTargetMajorVersion, int aiDecisionServiceTargetMinorVersion) throws CcServerDecisionServiceNotRegisteredException, CcServerEndlessLoopException, CcServerExecutionException, CcServerInitializationInProgressException, CcServerInvalidArgumentException, CcServerLicenseViolationException, CcServerTimeoutException
execute(String, Collection, int, int), except that a Map
is passed in instead of a Collection. The Map contain name-value pairs of
business objects. The names will stay intact during processing of the Decision Service. Only the business
objects may be updated.astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.amapWorkObjs - - a Map of business objects (e.g. Order#1, LineItem#11, LineItem#12, ...).aiDecisionServiceTargetMajorVersion - - the Decision Service Major version that should process this requestaiDecisionServiceTargetMinorVersion - - the Decision Service Minor version that should process this requestCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionexecute(String, Collection, int),
execute(String)org.json.JSONObject execute(org.json.JSONObject ajsonObjectPayload)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException,
CcServerTimeoutException
JSONObject. JSONObject root contains the following key/value pairs:name key - refers to the logical decision "Service" name that should process the request.majorVersion key - the major version of the Decision Service that should process this request. (optional)minorVersion key - the minor version of the Decision Service that should process this request. (optional)effectiveTarget key - the effective timestamp the Server should use to process this request. (optional)Objects key - contains a JSONArray, with each JSONObject in the JSONArray representing an Entity in the payload.JSONObject. JSONObject contains the following key/value pairs:Messages key - contains a JSONObject containing the following key/value pairs:Message key - contains a JSONArray, with each JSONObject in the JSONArray representing a RuleMessages possted against the payloadversion key - the version of the Decision Service that was executed against.
ajsonObjectPayload - - a JSONObject containing the data to be processed by the decision serviceCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionorg.json.JSONObject execute(org.json.JSONObject ajsonObjectPayload,
ICcServerHttpInfo aCcServerHttpInfo)
throws CcServerDecisionServiceNotRegisteredException,
CcServerEndlessLoopException,
CcServerExecutionException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException,
CcServerTimeoutException
execute(JSONObject), except for this method accepts ICcServerHttpInfoajsonObjectPayload - - a JSONObject containing the data to be processed by the decision serviceaCcServerHttpInfo - - ICcServerHttpInfo Object containing http headers informationCcServerDecisionServiceNotRegisteredExceptionCcServerEndlessLoopExceptionCcServerExecutionExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionCcServerTimeoutExceptionjava.lang.String getCcPropertyValue(java.lang.String astrPropertyName)
throws CcServerLicenseViolationException
String value of any Corticon Property that is inside the CcConfig.jar.CcServerLicenseViolationExceptionvoid setCcPropertyValue(java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
throws CcServerInvalidArgumentException,
CcServerLicenseViolationException
loglevel
logpath
logDailyRollover
logRolloverMaxHistory
logFiltersAccept
com.corticon.server.execution.logPerDSCcServerInvalidArgumentException - exception thrown when property name or value is not supported or invalidCcServerLicenseViolationExceptionLOG_LEVEL,
LOG_PATH,
LOG_ROLLOVER,
LOG_ROLLOVERS_TO_KEEP,
LOG_FILTERS_ACCEPT,
LOG_PER_DSjava.lang.String getCcServerInfo()
throws CcServerLicenseViolationException
String in XML format that describes the current state of the CcServer. The returned XML String will
contain licensing, deployed Decision Services, and transactional information.CcServerLicenseViolationExceptionjava.lang.String getCcServerLicenseValue(java.lang.String astrPropertyName)
throws CcServerInvalidArgumentException,
CcServerLicenseViolationException
astrPropertyName - - the license property to be returned:CcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionLICENSE_OEM_NAME,
LICENSE_DATE_GRANTED,
LICENSE_MAX_POOLS,
LICENSE_MAX_REACTORS,
LICENSE_MAX_NUMBER_OF_RULES,
LICENSE_DEACTIVATE_DATE,
LICENSE_DEACTIVATE_DATE_OVERRIDE,
LICENSE_SINGLE_EXECUTION_ENABLED,
LICENSE_SINGLE_EXECUTION_DB_ACCESS_ENABLED,
LICENSE_BATCHPROCESSING_ENABLED,
#LICENSE_USAGE_ENFORCED,
#LICENSE_USAGE_NAME,
#LICENSE_SERVER_IP,
#LICENSE_INCREMENT_IP,
#LICENSE_IP_OVERRIDE,
#LICENSE_SERVER_TRANSACTIONS_TIME_PERIOD,
#LICENSE_SERVER_TRANSACTIONS_MAX_EXECUTIONS,
#LICENSE_SERVER_TRANSACTION_OVERRIDE,
#LICENSE_NAMED_USERSjava.util.Collection getDecisionServiceNames()
throws CcServerLicenseViolationException
Collection of Decision Service name Strings that are currently loaded into
the Corticon Server.CcServerLicenseViolationExceptionjava.lang.String getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
java.lang.String astrPropertyName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
getDecisionServicePropertyValue(astrDecisionServiceName, , astrPropertyName) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).astrPropertyName - - the Decision Server property to be returned:CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptiongetDecisionServicePropertyValue(String, int, String)java.lang.String getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrPropertyName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
getDecisionServicePropertyValue(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedastrPropertyName - - the Decision Server property to be returned:CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptiongetDecisionServicePropertyValue(String, int, int, String)java.lang.String getDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrPropertyName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedastrPropertyName - - the Decision Server property to be returned:CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionPROPERTY_EDS_URI,
PROPERTY_EDS_FILE_TIMESTAMP,
PROPERTY_DEPLOYMENT_TIMESTAMP,
#PROPERTY_MIN_POOL_SIZE,
PROPERTY_MAX_POOL_SIZE,
PROPERTY_AUTO_RELOAD,
PROPERTY_VERSION_NUMBER,
PROPERTY_EFFECTIVE_START_DATE,
PROPERTY_EFFECTIVE_END_DATE,
PROPERTY_ACTIVE_POOL,
PROPERTY_LOADED_FROM_CDD,
PROPERTY_CURRENTLY_RUNNING_IN_BATCH_MODE,
PROPERTY_REACTORS_CURRENTLY_PROCESSING,
PROPERTY_REACTORS_WAITING_IN_POOL,
PROPERTY_NUMBER_OF_RULES_DEPLOYED,
PROPERTY_MESSAGE_STRUCTURE_TYPE,
PROPERTY_DATABASE_ACCESS_MODE,
PROPERTY_DATABASE_ACCESS_PROPERTIES,
PROPERTY_DATABASE_ACCESS_RETURN_ENTITIES_MODE,
#PROPERTY_DEPLOYED_AS_TEST_DECISION_SERVICE,
getDecisionServicePropertyValue(String, String),
#PROPERTY_EXECUTION_LOG_PATH,
#PROPERTY_EXECUTION_LOG_LEVEL,
#PROPERTY_EXECUTION_LOG_PER_THREAD,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_INFO,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_WARNING,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_VIOLATION,
PROPERTY_IS_DEPLOYED,
PROPERTY_DEPLOYED_EDS,
PROPERTY_WSDL,
PROPERTY_XML_REPORT,
PROPERTY_LAST_EXECUTION_TIMESTAMP,
PROPERTY_TOTAL_EXECUTION_COUNT,
PROPERTY_TOTAL_EXECUTION_TIMEvoid setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException
setDecisionServicePropertyValue(astrDecisionServiceName, , astrPropertyName, astrProperyValue) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).astrPropertyName - - the Decision Server property to be changedastrPropertyValue - - the new Decision Server property valueCcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionsetDecisionServicePropertyValue(String, int, String, String)void setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiMajorVersionNumber,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException
setDecisionServicePropertyValue(astrDecisionServiceName, aiMajorVersionNumber, , astrPropertyName, astrProperyValue) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).astrPropertyName - - the Decision Server property to be changedastrPropertyValue - - the new Decision Server property valueCcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionsetDecisionServicePropertyValue(String, int, int, String, String)void setDecisionServicePropertyValue(java.lang.String astrDecisionServiceName,
int aiMajorVersionNumber,
int aiMinorVersionNumber,
java.lang.String astrPropertyName,
java.lang.String astrPropertyValue)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedastrPropertyName - - the Decision Server property to be changedastrPropertyValue - - the new Decision Server property valueCcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionPROPERTY_RULEASSET_URI,
PROPERTY_MAX_POOL_SIZE,
PROPERTY_AUTO_RELOAD,
PROPERTY_MESSAGE_STRUCTURE_TYPE,
PROPERTY_DATABASE_ACCESS_MODE,
PROPERTY_DATABASE_ACCESS_PROPERTIES_PATH,
PROPERTY_DATABASE_ACCESS_RETURN_ENTITIES_MODE,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_INFO,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_WARNING,
PROPERTY_EXECUTION_RESTRICT_RULEMESSAGES_VIOLATIONjava.lang.String getDeploymentDescriptorDirectoryPath()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.lang.String getLicensePath()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.lang.String getSandboxDirectoryPath()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.lang.String getCompilationDirectoryPath()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.lang.String getDecisionServiceDirectoryPath()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.util.List getDecisionServiceDetailsAll()
throws CcServerDecisionServiceNotRegisteredException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
getDecisionServiceDetailsAll(, astrStructureType) CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptioCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionjava.util.List getDecisionServiceDetailsAll(java.lang.String astrDecisionServiceName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
getDecisionServiceDetailsAll(astrDecisionServiceName, , astrStructureType) astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptioCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionjava.util.List getDecisionServiceDetailsAll(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
throws CcServerDecisionServiceNotRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionlong getTotalExecutionCount()
throws CcServerDecisionServiceNotRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerTimeoutException
CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationException#getTotalExecutionCount(String, int),
#getStoredExecutionTimes(String),
#getStoredExecutionTimes(String, int),
#clearAllCcServerExecutionCounts(),
#clearAllCcServerStoredExecutionTimes(),
#clearExecutionCounts(String),
#clearExecutionCounts(String, int),
#clearStoredExecutionTimes(String),
#clearStoredExecutionTimes(String, int),
#startServerPerformanceMonitoringService(),
#stopServerPerformanceMonitoringService()long getTotalExecutionTime()
throws CcServerDecisionServiceNotRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerTimeoutException
CcServerDecisionServiceNotRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationException#getTotalExecutionCount(String, int),
#getStoredExecutionTimes(String),
#getStoredExecutionTimes(String, int),
#clearAllCcServerExecutionCounts(),
#clearAllCcServerStoredExecutionTimes(),
#clearExecutionCounts(String),
#clearExecutionCounts(String, int),
#clearStoredExecutionTimes(String),
#clearStoredExecutionTimes(String, int),
#startServerPerformanceMonitoringService(),
#stopServerPerformanceMonitoringService()boolean isCDDFileDeployed(java.lang.String astrPathToCddFile)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
boolean based on whether the CDD has been deployed in the CcServer.astrPathToCddFile - - path to the .cdd in questionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionboolean isDecisionServiceDeployed(java.lang.String astrDecisionServiceName)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
isDecisionServiceDeployed(astrDecisionServiceName, ) .astrDecisionServiceName - - name of the Decision Service that you want to inquire aboutCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionboolean isDecisionServiceDeployed(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
isDecisionServiceDeployed(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) .astrDecisionServiceName - - name of the Decision Service that you want to inquire aboutaiDecisionServiceMajorVersion - - a specific Major Version of the Decision ServiceCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionboolean isDecisionServiceDeployed(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrDecisionServiceName - - name of the Decision Service that you want to inquire aboutaiDecisionServiceMajorVersion - - a specific Major Version of the Decision ServiceaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision ServiceCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionboolean isDynamicUpdateMonitoringServiceRunning()
throws CcServerLicenseViolationException
startDynamicUpdateMonitorService.
See stopDynamicUpdateMonitorService.CcServerLicenseViolationExceptionstartDynamicUpdateMonitoringService(),
loadFromCdd(String),
#addDecisionService(String, String, boolean, int, int, String)boolean isServerExecutionTimesIntervalServiceRunning()
throws CcServerLicenseViolationException
startServerExecutionTimesIntervalService.
See stopServerExecutionTimesIntervalService.CcServerLicenseViolationExceptionstartServerExecutionTimesIntervalService()boolean isServerResultsDistributionMonitoringServiceRunning()
throws CcServerLicenseViolationException
startServerResultsDistributionMonitoringService.
See stopServerResultsDistributionMonitoringService.CcServerLicenseViolationExceptionstartServerResultsDistributionMonitoringService()boolean isServerDiagnosticServiceRunning()
throws CcServerLicenseViolationException
startServerDiagnosticService.
See stopServerDiagnosticService.CcServerLicenseViolationExceptionstartServerDiagnosticService(),
stopServerDiagnosticService(),
isServerDiagnosticServiceRunning(),
setDiagnosticsEnabled(boolean),
setServerDiagnosticsWaitTime(long)void loadFromCdd(java.lang.String astrCddPath)
throws CcServerDecisionServiceAlreadyRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidCddException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
addDecisionService for more details). The CDD is updated as an ATOMic unit. If any of the Decision
Services within the CDD fails to initialize, the entire CDD update is rolled back and the pre-update state of
the Server is restored. The loaded CDD will continue to be monitored for changes by a Maintenance thread
(see startDynamicUpdateMonitoringService for more details).
loadFromCdd can be called to load multiple specific CDDs. To load all CDDs in a directory, use
loadFromCddDir instead.astrCddPath - - the path to the CDD file to be deployedCcServerDecisionServiceAlreadyRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerInvalidArgumentExceptionCcServerInvalidCddExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionloadFromCddDir(String),
#addDecisionService(String, String, boolean, int, int, String)void loadFromCddDir(java.lang.String astrCddDirPath)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerInvalidCddException
startDynamicUpdateMonitoringService method for more details).astrCddDirPath - - Path to a directory where .cdd files are locatedCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionCcServerInvalidCddExceptionloadFromCdd(String),
#addDecisionService(String, String, boolean, int, int, String),
startDynamicUpdateMonitoringService()void registerTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceTrackingAttributeAlreadyRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerTimeoutException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedastrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.astrBucketString - - bucket definitions.CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceTrackingAttributeAlreadyRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
deregisterTrackingAttribute(String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
stopServerResultsDistributionMonitoringService(),
startServerResultsDistributionMonitoringService()void registerTrackingAttribute(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceTrackingAttributeAlreadyRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerTimeoutException
registerTrackingAttribute(astrDecisionServiceName, aiDecisionServiceMajorVersion, , astrRegisteredTrackingAttribute, astrBucketString) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedastrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.astrBucketString - - bucket definitions.CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceTrackingAttributeAlreadyRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
deregisterTrackingAttribute(String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
stopServerResultsDistributionMonitoringService(),
startServerResultsDistributionMonitoringService()void registerTrackingAttribute(java.lang.String astrDecisionServiceName,
java.lang.String astrRegisteredTrackingAttribute,
java.lang.String astrBucketString)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceTrackingAttributeAlreadyRegisteredException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException,
CcServerTimeoutException
registerTrackingAttribute(astrDecisionServiceName, , astrRegisteredTrackingAttribute, String astrRegisteredAttributeType, String astrBucketString) .astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).astrRegisteredTrackingAttribute - - fully qualified vocabulary attribute name.astrBucketString - - bucket definitions.CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceTrackingAttributeAlreadyRegisteredExceptionCcServerInvalidArgumentExceptionCcServerTimeoutExceptionCcServerLicenseViolationExceptionregisterTrackingAttribute(String, int , String, String),
deregisterTrackingAttribute(String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
stopServerResultsDistributionMonitoringService(),
startServerResultsDistributionMonitoringService()void reloadDecisionService(java.lang.String astrDecisionServiceName)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
reloadDecisionService(astrDecisionServiceName, ) .astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.CcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionstopDynamicUpdateMonitoringService()void reloadDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceVersion)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
reloadDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) .astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.aiDecisionServiceVersion - - a specific Version of the Decision Servie to be modifiedCcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionstopDynamicUpdateMonitoringService()void reloadDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
throws CcServerDecisionServiceLoadedFromCddException,
CcServerDecisionServiceNotRegisteredException,
CcServerFileOrDirNotFoundException,
CcServerInvalidArgumentException,
CcServerDatabaseValidationException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
astrDecisionServiceName - - name of the Decision Service and thus corresponding Corticon Engine pool to use.aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Servie to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Servie to be modifiedCcServerDecisionServiceLoadedFromCddExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerFileOrDirNotFoundExceptionCcServerInvalidArgumentExceptionCcServerDatabaseValidationExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionstopDynamicUpdateMonitoringService()void removeDecisionService(java.lang.String astrDecisionServiceName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceLoadedFromCddException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
removeDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) .astrDecisionServiceName - - Name of the Decision Service to be removed from the server.CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceLoadedFromCddExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationException#addDecisionService(String, String, boolean, int, int, String)void removeDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceLoadedFromCddException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
removeDecisionService(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) .astrDecisionServiceName - - Name of the Decision Service to be removed from the server.aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Servie to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceLoadedFromCddExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationException#addDecisionService(String, String, boolean, int, int, String)void removeDecisionService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceLoadedFromCddException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
aiDecisionServiceMajorVersion and aiDecisionServiceMinorVersion of Decision Service astrDecisionServiceName and all
associated Corticon Engines in its pool (if any). This method only operates on Decision
Services loaded using addDecisionService.astrDecisionServiceName - - Name of the Decision Service to be removed from the server.aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Servie to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Servie to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceLoadedFromCddExceptionCcServerLicenseViolationExceptionCcServerInvalidArgumentException#addDecisionService(String, String, boolean, int, int, String)void setDeploymentDescriptorDirectoryPath(java.lang.String astrDeploymentDirectoryPath)
throws CcServerFileOrDirNotFoundException,
CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrDeploymentDirectoryPath - - Path to a directoryCcServerFileOrDirNotFoundExceptionCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionvoid setLicensePath(java.lang.String astrLicensePath)
throws CcServerLicenseViolationException
astrLicensePath - Fully Qualified path to the CcLicense.jarCcServerLicenseViolationExceptionvoid setLogLevel(java.lang.String astrLogPath)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrLogLevel - - the log level:CcServerInvalidArgumentExceptionCcServerLicenseViolationException#LOG_LEVEL_DEBUG,
#LOG_LEVEL_INFO,
#LOG_LEVEL_DIANOSTIC,
#LOG_LEVEL_VIOLATIONvoid setLogPath(java.lang.String astrLogPath)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrLogPath - - path to the directory where log files are writtenCcServerLicenseViolationExceptionCcServerInvalidArgumentExceptionvoid setServerExecutionTimesIntervalTime(long alInterval)
throws CcServerLicenseViolationException
alInterval - - time in milliseconds that the Server Execution Times Interval Service will wake up and record the interval values.CcServerLicenseViolationExceptionvoid setServerDiagnosticsWaitTime(long alWaitTime)
throws CcServerLicenseViolationException
alWaitTime - - time in milliseconds between diagnostic log entriesCcServerLicenseViolationExceptionstartServerDiagnosticService(),
stopServerDiagnosticService(),
isServerDiagnosticServiceRunning(),
setDiagnosticsEnabled(boolean),
setServerDiagnosticsWaitTime(long)void setIntervalProcessingEnabled(boolean abValue)
throws CcServerLicenseViolationException
void setDiagnosticsEnabled(boolean abValue)
throws CcServerLicenseViolationException
void startDynamicUpdateMonitoringService()
throws CcServerLicenseViolationException
CcConfig.jar|CcServer.properties|
com.corticon.ccserver.dynamicUpdateMonitoringService.serviceIntervals. If X=0, the Maintenance service is shutdown at
server initialization time. The Maintenance thread can be started up and/or shutdown using
startDynamicUpdateMonitoringService/stopDynamicUpdateMonitoringService. If any new CDD's
are added or any existing CDDs are removed or updated, the Maintenance service detects the changes and dynamically
refreshes the server to reflect the changes. If any of the CDDs fails to load, a message is printed to the console
and the details of the failure are logged in the Corticon log file. Each CDD is updated as an atomic unit. If the
update to any of the Decision Services within the CDD fail, the entire CDD update is rolled back and the pre-update
state of the Server is restored.
The Maintenance thread also monitors the .eds, erf, and ers files for the Decision Services already to detect possible updates. For Decision Services loaded with the Automatic Reload flag set to true, an update to the .eds, erf, and ers files results in a dynamic refresh of the Decision Service. If an error occurs during this process, the pre-refresh state of the Decision Service is restored.
CcServerLicenseViolationExceptionstopDynamicUpdateMonitoringService(),
loadFromCdd(String),
#addDecisionService(String, String, boolean, int, int, String)void startServerExecutionTimesIntervalService()
throws CcServerLicenseViolationException
CcServerLicenseViolationException#getIntervalExecutionCounts(String),
#getIntervalExecutionCounts(String, int),
#getIntervalExecutionTimes(String),
#getIntervalExecutionTimes(String, int),
#getIntervalExecutionAverageTimes(String),
#getIntervalExecutionAverageTimes(String, int),
setServerExecutionTimesIntervalTime(long),
#clearAllCcServerIntervalValues(),
#clearIntervalValues(String),
#clearIntervalValues(String, int),
stopServerExecutionTimesIntervalService()void startServerResultsDistributionMonitoringService()
throws CcServerLicenseViolationException
astrBucketString when defining a Registered Attribute.
CcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
registerTrackingAttribute(String, int , String, String),
deregisterTrackingAttribute(String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
stopServerResultsDistributionMonitoringService()void startServerDiagnosticService()
throws CcServerLicenseViolationException
void stopDynamicUpdateMonitoringService()
throws CcServerLicenseViolationException
startDynamicUpdateMonitorService.CcServerLicenseViolationExceptionstartDynamicUpdateMonitoringService(),
loadFromCdd(String),
#addDecisionService(String, String, boolean, int, int, String)void stopServerExecutionTimesIntervalService()
throws CcServerLicenseViolationException
stopServerExecutionTimesIntervalService.CcServerLicenseViolationException#getIntervalExecutionCounts(String),
#getIntervalExecutionCounts(String, int),
#getIntervalExecutionTimes(String),
#getIntervalExecutionTimes(String, int),
#getIntervalExecutionAverageTimes(String),
#getIntervalExecutionAverageTimes(String, int),
setServerExecutionTimesIntervalTime(long),
#clearAllCcServerIntervalValues(),
#clearIntervalValues(String),
#clearIntervalValues(String, int),
startServerExecutionTimesIntervalService()void stopServerResultsDistributionMonitoringService()
throws CcServerLicenseViolationException
startServerResultsDistributionMonitoringService.CcServerLicenseViolationExceptionregisterTrackingAttribute(String, String, String),
registerTrackingAttribute(String, int , String, String),
deregisterTrackingAttribute(String, String),
deregisterTrackingAttribute(String, int, String),
#getRegisteredTrackingAttributes(String),
#getRegisteredTrackingAttributes(String, int),
#getRegisteredTrackingAttributeCounts(String, String),
#getRegisteredTrackingAttributeCounts(String, int, String),
startServerResultsDistributionMonitoringService()void stopServerDiagnosticService()
throws CcServerLicenseViolationException
boolean isCcServerRunning()
throws CcServerLicenseViolationException
CcServerLicenseViolationExceptionjava.lang.String startBatchExecution(org.json.JSONObject ajsonObjectBatchProcessingProperties)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceQueryServiceLoadFailedException,
CcServerInitializationInProgressException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
ajsonObjectBatchProcessingProperties - - JSONObject containing all necessary processing properties to run the desired Batch Execution.CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceQueryServiceLoadFailedExceptionCcServerInitializationInProgressExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionvoid stopBatchExecution(java.lang.String astrBatchExecutionId)
throws CcServerDecisionServiceBatchNotCurrentlyRunningException,
CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceLoadedFromCddException,
CcServerInvalidArgumentException,
CcServerLicenseViolationException
astrBatchExecutionId - - The Id of the desired Batch Execution to be stoppedCcServerDecisionServiceBatchNotCurrentlyRunningExceptionCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceLoadedFromCddExceptionCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionjava.util.List<java.lang.String> getBatchExecutionIds()
throws CcServerLicenseViolationException
ajsonObjectBatchProcessingProperties - - JSONObject containing all necessary processing properties to run the desired Batch Execution.CcServerLicenseViolationExceptionorg.json.JSONObject getBatchExecutionDetails(java.lang.String astrBatchExecutionId)
throws CcServerLicenseViolationException,
CcServerInvalidArgumentException
astrBatchExecutionId - - The Id of the desired Batch Execution to be stoppedCcServerInvalidArgumentExceptionCcServerLicenseViolationExceptionvoid reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceQueryServiceLoadFailedException,
CcServerInvalidArgumentException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
reloadDecisionServiceQueryService(astrDecisionServiceName, ) astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).CcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceQueryServiceLoadFailedExceptionCcServerInvalidArgumentExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionvoid reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceQueryServiceLoadFailedException,
CcServerInvalidArgumentException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
reloadDecisionServiceQueryService(astrDecisionServiceName, aiDecisionServiceMajorVersion, ) astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceQueryServiceLoadFailedExceptionCcServerInvalidArgumentExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionvoid reloadDecisionServiceQueryService(java.lang.String astrDecisionServiceName,
int aiDecisionServiceMajorVersion,
int aiDecisionServiceMinorVersion)
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceQueryServiceLoadFailedException,
CcServerInvalidArgumentException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceQueryServiceLoadFailedExceptionCcServerInvalidArgumentExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionvoid reloadAllDecisionServicesQueryService()
throws CcServerDecisionServiceNotRegisteredException,
CcServerDecisionServiceQueryServiceLoadFailedException,
CcServerInvalidArgumentException,
CcServerInvalidDecisionServiceException,
CcServerLicenseViolationException
astrDecisionServiceName - - logical name of an existing Decision Service (and thus corresponding Corticon Engine pool).aiDecisionServiceMajorVersion - - a specific Major Version of the Decision Service to be modifiedaiDecisionServiceMinorVersion - - a specific Minor Version of the Decision Service to be modifiedCcServerDecisionServiceNotRegisteredExceptionCcServerDecisionServiceQueryServiceLoadFailedExceptionCcServerInvalidArgumentExceptionCcServerInvalidDecisionServiceExceptionCcServerLicenseViolationExceptionCopyright © 2005-2022 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.