Class isolation is used to load your code and dependencies using an independent class loader if they conflict with the runtime dependencies.
Pre-stop is used to call a callback function before FunctionGraph stops the current function instance.
Only Java functions can be configured with class isolation and pre-stop.
Parameter |
Description |
|---|---|
Pre-stop Timeout (s) |
Timeout for executing the callback function before the current function instance is stopped. The value is an integer ranging from 1 to 90. |
Pre-stop Handler |
Handler of the callback function, which can contain a maximum of 128 characters in the format of "[package name].[class name].[execution function name]". |