@ExperimentalApi
public interface Sandbox
| Modifier and Type | Method and Description |
|---|---|
<T,R> CompletionStage<R> |
submit(SandboxTask<T,R> task,
T input)
Submit a request to run the given task with the given input in a process sandbox.
|
<T,R> CompletionStage<R> |
submit(SandboxTask<T,R> task,
T input,
Duration timeLimit)
Submit a request to run the given task with the given input that must complete within the specified time
limit in a process sandbox.
|
<T,R> CompletionStage<R> submit(SandboxTask<T,R> task, T input)
<T,R> CompletionStage<R> submit(SandboxTask<T,R> task, T input, Duration timeLimit)
Copyright © 2003–2019 Atlassian. All rights reserved.