public static interface SandboxSpec.SpecBuilder
Modifier and Type | Method and Description |
---|---|
SandboxSpec |
build(Duration requestTimeLimit)
Build the specification object with specified request time limit
|
SandboxSpec.SpecBuilder |
registerCallbackContextObject(Class<?> type,
Object instance)
Add single mapping to callback context for this sandbox spec
|
SandboxSpec.SpecBuilder |
withMinimumMemoryInMb(int minimumMemoryInMb)
Minimum JVM heap memory requirement for sandbox process
|
SandboxSpec.SpecBuilder |
withMinimumStackInMb(int minimumStackInMb)
Minimum amount of heap memory sandbox JVM should have
|
SandboxSpec.SpecBuilder withMinimumMemoryInMb(int minimumMemoryInMb)
SandboxSpec.SpecBuilder withMinimumStackInMb(int minimumStackInMb)
SandboxSpec.SpecBuilder registerCallbackContextObject(Class<?> type, Object instance)
SandboxSpec build(Duration requestTimeLimit)
Copyright © 2003–2021 Atlassian. All rights reserved.