Interface SandboxSpec


  • @ExperimentalApi
    public interface SandboxSpec
    Specification for the sandbox which will be used in searching the most suitable sandbox instance in SandboxRegistry.
    Since:
    6.12
    • Method Detail

      • minimumMemoryInMb

        int minimumMemoryInMb()
        Minimum amount of heap memory sandbox JVM should have
      • requestTimeLimit

        Duration requestTimeLimit()
        Sandbox function call taking longer that this time limit will be terminated. The sandbox process will be killed and restarted on the next call.
      • minimumStackInMb

        int minimumStackInMb()
        Minimum amount of stack every sandbox thread should have