Hitachi

uCosminexus Service Platform Setup and Operation Guide


5.3.20 Performing cache of the definition information of the business process

This subsection describes the cache of the format definition of the business process and the definition information of the data transformation definition.

Organization of this subsection

(1) Prerequisites

To perform the cache business processes, the HCSC server must be in a running state.

For details on how to check the status of the HCSC server, see "5.3.15 Checking the HCSC server information".

(2) Performing cache

To perform cache of the format definition of the business process and the definition information of the data transformation definition, execute the cscprecache command in the operating environment. If you have not executed the cscprecache command, since the format definition and data transformation definition are not analyzed until the request processing time, it is recommended that you execute the cscprecache command.

You can execute the following processes with the cscprecache command:

For details on the cscprecachecommand, see "cscprecache (Pre-caching format definitions and data transformation definitions)" in "Service Platform Reference Guide".

The execution format of the cscprecache command is as follows:

The following table describes the execution result of the cscprecache command that differs depending on whether you send analysis requests after the execution of the command:

Table 5‒5: Execution results of the cscprecache command

Operations after executing the command

Execution results of cscprecache command

If the command returns the command execution results without sending analysis requests

  • If the specified HCSC server is not running,

    The command ends abnormally without sending the analysis request.

  • If you do not specify the -name option,

    If the business process that is running does not exist, the command terminates successfully.

  • If you specify the -name option

    If the business process specified with the -name option is not running, the command terminates abnormally.

    Furthermore, if you specify components that are not business processes, the command terminates abnormally.

If the command returns the command execution results after sending analysis requests

  • Each time the execution result of one business process is returned, execution results are output to the standard output or the standard error output.

  • If error occurs in the analysis process after all execution results are returned, the command terminates abnormally. If you succeed in performing all analysis processes and caches, the command terminates successfully.

  • If you execute the command for a cached business process, the command terminates successfully without executing the analysis process.

Note that cached data is deleted when the business process stops.