| Package | Description |
|---|---|
| com.atlassian.confluence.util.sandbox |
Sandbox framework enables running any java code independent from Confluence core in a separate OS process which can
crash, run out of memory, being killed and restarted without affecting Confluence.
|
| Modifier and Type | Method and Description |
|---|---|
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.bootstrapClasses(List<Class<?>> bootstrapClasses)
Classes required to bootstrap a sandbox process.
|
static SandboxConfiguration.Builder |
SandboxConfiguration.builder() |
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.concurrencyLevel(int concurrencyLevel) |
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.errorConsumer(SandboxErrorConsumer errorConsumer)
The sandbox server and
SandboxTask log a debug message by writing it to standard error. |
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.logLevel(Level logLevel)
The loglevel passed to a sandbox server to help debug it.
|
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.memoryInMegabytes(int memoryLimitInMegabytes)
Limits memory of sandbox process.
|
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.requestTimeLimit(Duration timeLimit)
Sandbox function call taking longer that this time limit will be terminated.
|
SandboxConfiguration.Builder |
SandboxConfiguration.Builder.startupTimeLimit(Duration timeLimit)
Sandbox process taking longer that this time limit will be killed.
|
Copyright © 2003–2018 Atlassian. All rights reserved.