Uses of Interface
org.jenkins.plugins.lockableresources.remote.RemoteLockSession.Host
Packages that use RemoteLockSession.Host
Package
Description
-
Uses of RemoteLockSession.Host in org.jenkins.plugins.lockableresources
Classes in org.jenkins.plugins.lockableresources that implement RemoteLockSession.Host -
Uses of RemoteLockSession.Host in org.jenkins.plugins.lockableresources.remote
Methods in org.jenkins.plugins.lockableresources.remote with parameters of type RemoteLockSession.HostModifier and TypeMethodDescriptionvoidRemoteLockSession.fail(RemoteLockSession.Host host, Throwable cause) Fails the session (fail-closed; no release) - used by the host when running the body throws.voidRemoteLockSession.onBodyFinished(RemoteLockSession.Host host) Called by the step's body callback when the lock body finishes - cancel heartbeat and release the lease.voidRemoteLockSession.onResume(RemoteLockSession.Host host) Resumes the session after a controller restart (rebuilds the poll loop or fails closed).booleanRemoteLockSession.start(RemoteLockSession.Host host) voidRemoteLockSession.stop(RemoteLockSession.Host host, Throwable cause) Aborts an in-flight session (step stopped): cancel timers, best-effort release, fail the context.