Class SandboxLease.NoopSandboxLease

java.lang.Object
io.agentscope.harness.agent.sandbox.SandboxLease.NoopSandboxLease
All Implemented Interfaces:
SandboxLease, AutoCloseable
Enclosing interface:
SandboxLease

public static final class SandboxLease.NoopSandboxLease extends Object implements SandboxLease
Singleton no-op implementation.
  • Method Details

    • close

      public void close()
      Description copied from interface: SandboxLease
      Releases the execution right held by this lease.

      Must not throw. Any release-side error should be logged internally by the implementation.

      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SandboxLease