Package | Description |
---|---|
com.atlassian.confluence.impl.util.sandbox |
Modifier and Type | Method and Description |
---|---|
static SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.builder() |
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withBootstrapClasses(List<Class<?>> bootstrapClasses)
Classes required to bootstrap a sandbox process.
|
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withConcurrencyLevel(int concurrencyLevel)
Number of sandbox processes.
|
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withDebugPortOffset(Integer offset)
Opens debug port for each sandbox process starting with given offset.
|
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withErrorConsumer(SandboxErrorConsumer errorConsumer)
The sandbox server and
SandboxTask log a debug message by writing it to standard error. |
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withJavaOptions(String... options) |
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withLogLevel(Level logLevel) |
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withMemoryInMegabytes(int memoryLimitInMegabytes)
Limits memory of sandbox process.
|
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withStackInMegabytes(int stackInMegabytes)
Sets the default stack size of sandbox process threads.
|
SandboxPoolConfiguration.Builder |
SandboxPoolConfiguration.Builder.withStartupTimeLimit(Duration timeLimit)
Sandbox process taking longer that this time to start will be killed.
|
Copyright © 2003–2021 Atlassian. All rights reserved.