@ExperimentalApi
public interface SandboxSpec
SandboxRegistry
.Modifier and Type | Interface and Description |
---|---|
static interface |
SandboxSpec.SpecBuilder |
Modifier and Type | Method and Description |
---|---|
static SandboxSpec.SpecBuilder |
builder() |
SandboxCallbackContext |
callbackContext()
Callback context object for this sandbox instance
|
int |
minimumMemoryInMb()
Minimum amount of heap memory sandbox JVM should have
|
int |
minimumStackInMb()
Minimum amount of stack every sandbox thread should have
|
static SandboxSpec |
of(Duration requestTimeLimit) |
Duration |
requestTimeLimit()
Sandbox function call taking longer that this time limit will be terminated.
|
int minimumMemoryInMb()
Duration requestTimeLimit()
int minimumStackInMb()
SandboxCallbackContext callbackContext()
static SandboxSpec of(Duration requestTimeLimit)
static SandboxSpec.SpecBuilder builder()
Copyright © 2003–2020 Atlassian. All rights reserved.