get_require_restart_worst


Description:

[ Version ( since = "0.5.2" ) ]
public Restart get_require_restart_worst ()

This method returns the 'worst' restart of all the transactions.

It is needed as multiple sub-transactions may emit require-restart with different values, and we always want to get the most invasive of all.

For instance, if a transaction emits RequireRestart(system) and then RequireRestart(session) then pk_client_get_require_restart will return system as a session restart is implied with a system restart.

Parameters:

this

a valid Results instance

Returns:

a Restart value, e.g. PK_RESTART_ENUM_SYSTEM