Uses of Class
org.codehaus.commons.compiler.sandbox.SandboxLimits.Builder
Packages that use SandboxLimits.Builder
Package
Description
Restricts the APIs that compiled, untrusted code may use, by verifying the generated bytecode against an allowlist
before it is loaded (
SandboxPolicy), and limits the CPU time and the
memory that the code consumes (SandboxExecutor).-
Uses of SandboxLimits.Builder in org.codehaus.commons.compiler.sandbox
Methods in org.codehaus.commons.compiler.sandbox that return SandboxLimits.BuilderModifier and TypeMethodDescriptionstatic SandboxLimits.BuilderSandboxLimits.builder()SandboxLimits.Builder.maxAllocatedBytes(long maxAllocatedBytes) Limits the number of bytes that the executing thread allocates on the heap.SandboxLimits.Builder.maxTicks(long maxTicks) Limits the number of "ticks" of an execution.Limits the wall-clock time of an execution.