Uses of Record Class
org.microproxy.starlark.StarlarkScript.Limits
Packages that use StarlarkScript.Limits
-
Uses of StarlarkScript.Limits in org.microproxy.starlark
Fields in org.microproxy.starlark declared as StarlarkScript.LimitsModifier and TypeFieldDescriptionstatic final StarlarkScript.LimitsStarlarkScript.Limits.DEFAULTTen million steps, five seconds and 256 MiB per call.Methods in org.microproxy.starlark that return StarlarkScript.LimitsModifier and TypeMethodDescriptionStarlarkScript.Limits.withMaxAllocBytes(long maxAllocBytes) These bounds with another allocation budget.StarlarkScript.Limits.withMaxSteps(long maxSteps) These bounds with another step limit.StarlarkScript.Limits.withTimeout(Duration timeout) These bounds with another wall-clock limit.Methods in org.microproxy.starlark with parameters of type StarlarkScript.LimitsModifier and TypeMethodDescriptionstatic StarlarkScriptStarlarkScript.compile(String source, String name, StarlarkScript.Limits limits) Compiles and runssource;nameappears in error messages.static StarlarkScriptStarlarkScript.compile(String source, String name, StarlarkScript.Limits limits, Map<String, ?> constants) Compiles and runssourcewithconstantsas read-only globals (seeScriptedProxy.Builder.constants);nameappears in error messages.static StarlarkScriptStarlarkScript.compile(String source, String name, StarlarkScript.Limits limits, Map<String, ?> constants, StatsRegistry stats) Compiles and runssourcewithconstantsas read-only globals, itsstatsmodule counting intostats(ScriptStats);nameappears in error messages.ScriptedProxy.Builder.limits(StarlarkScript.Limits limits) Step and time limits for each hook call.static StarlarkScriptStarlarkScript.load(Path file, StarlarkScript.Limits limits) Loads and runs the script infile.static StarlarkScriptStarlarkScript.load(Path file, StarlarkScript.Limits limits, Map<String, ?> constants) Loads and runs the script infile, withconstantsas read-only globals (seeScriptedProxy.Builder.constants).static StarlarkScriptStarlarkScript.load(Path file, StarlarkScript.Limits limits, Map<String, ?> constants, StatsRegistry stats) Loads and runs the script infile, withconstantsas read-only globals and itsstatsmodule counting intostats.