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:
-
Send analysis requests to business processes running on HCSC servers in a batch
-
Send analysis requests to specific business processes
When you send the analysis request to multiple business processes, threads are generated in the command, and parallel processing is executed.
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:
-
When you send analysis requests to business processes running on the HCSC server in a batch
cscprecache -csc <HCSC server name>
-
When you send analysis requests for specific business processes
cscprecache -csc <HCSC server name> -name <Service ID>
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:
|
Operations after executing the command |
Execution results of cscprecache command |
|---|---|
|
If the command returns the command execution results without sending analysis requests |
|
|
If the command returns the command execution results after sending analysis requests |
|
Note that cached data is deleted when the business process stops.