Uses of Interface
io.agentscope.harness.agent.sandbox.SandboxLease
Packages that use SandboxLease
-
Uses of SandboxLease in io.agentscope.harness.agent.sandbox
Classes in io.agentscope.harness.agent.sandbox that implement SandboxLeaseModifier and TypeClassDescriptionstatic final classSingleton no-op implementation.Methods in io.agentscope.harness.agent.sandbox that return SandboxLeaseModifier and TypeMethodDescriptionSandboxAcquireResult.getLease()Returns theSandboxLeaseheld for this call, or a no-op lease if no guard was configured.static SandboxLeaseSandboxLease.noop()Returns a no-op lease whoseclose()is a no-op.SandboxExecutionGuard.NoopSandboxExecutionGuard.tryEnter(SandboxIsolationKey key) SandboxExecutionGuard.tryEnter(SandboxIsolationKey key) Acquires the execution right for the given isolation key, blocking until the slot becomes available or the calling thread is interrupted.Methods in io.agentscope.harness.agent.sandbox with parameters of type SandboxLeaseModifier and TypeMethodDescriptionstatic SandboxAcquireResultSandboxAcquireResult.selfManaged(Sandbox sandbox, SandboxLease lease) Creates a self-managed result with a guard lease (SDK owns the full lifecycle).