11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System and Other Functions<strong>Caché</strong> provides network hardening to allow user jobs to continue processing in the event ofnetwork transport errors. Network hardening allows global references to remote servers tocomplete successfully even if network transport errors occur. When a network transport erroroccurs, the network transport code reestablishes connections and retransmits network requests.Where the user or application must take some action to restore communications, the clientprocess receives a specific error.Note:This function provide network hardening support for DCP (Distributed Cache Protocol)distributed data management. It does not provide support for ECP (EnterpriseCache Protocol) distributed data management.DCP (Distributed Cache Protocol) with network hardening performs multiple retries of anetwork request. ECP (Enterprise Cache Protocol) does not support network hardening anddoes not perform multiple retries. ECP issues a error when encountering anetwork transport error; the suggested programming practice is to roll back the currenttransaction when encountering a error, then retry the transaction. At <strong>Caché</strong>version 5.0 and subsequent, the default for distributed data caching is ECP. For further details,see Introduction and DCP in the Distributed Data Management Guide.You can determine the network hardening process state for a specified process (and otherinformation) using a method of the SYS.Process class, as shown in the following example:ZNSPACE "%SYS"WRITE ##CLASS(SYS.Process).%OpenId($JOB).StateGet()ParametersnThe boolean value that specifies whether <strong>Caché</strong> enables or disables network hardening forthe current process:01Disables network hardening.Enables network hardening. The system default setting is 1.ExampleThe following example tests the status of network hardening for the system and the currentprocess, and enables it for the current process, if necessary:616 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!