Interface SandboxSpec.SpecBuilder
-
- Enclosing interface:
- SandboxSpec
public static interface SandboxSpec.SpecBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SandboxSpec
build(Duration requestTimeLimit)
Build the specification object with specified request time limitSandboxSpec.SpecBuilder
registerCallbackContextObject(Class<?> type, Object instance)
Add single mapping to callback context for this sandbox specSandboxSpec.SpecBuilder
withMinimumMemoryInMb(int minimumMemoryInMb)
Minimum JVM heap memory requirement for sandbox processSandboxSpec.SpecBuilder
withMinimumStackInMb(int minimumStackInMb)
Minimum amount of heap memory sandbox JVM should have
-
-
-
Method Detail
-
withMinimumMemoryInMb
SandboxSpec.SpecBuilder withMinimumMemoryInMb(int minimumMemoryInMb)
Minimum JVM heap memory requirement for sandbox process
-
withMinimumStackInMb
SandboxSpec.SpecBuilder withMinimumStackInMb(int minimumStackInMb)
Minimum amount of heap memory sandbox JVM should have
-
registerCallbackContextObject
SandboxSpec.SpecBuilder registerCallbackContextObject(Class<?> type, Object instance)
Add single mapping to callback context for this sandbox spec
-
build
SandboxSpec build(Duration requestTimeLimit)
Build the specification object with specified request time limit
-
-