Interface HostingSupervisor
- All Superinterfaces:
ManagedInvocation
- All Known Implementing Classes:
ApplicationManagerHost
Physical hosting boundary. Implementations must inspect actual runtime state after uncertain
completion; controller state alone never proves a replacement. ApplicationManagerHost is the
built-in runtime implementation. Supervisors do not grant coordination authority themselves.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCloses admission and waits for admitted invocations before invoking the runtime drain hook.inspect()Reads actual application admission state.voidreplace(ReleaseDescriptor release, Instant deadline) Replaces a drained instance using a verified trusted release and reopens admission.Methods inherited from interface ManagedInvocation
invoke, invokeRevision
-
Method Details
-
inspect
NodeView inspect()Reads actual application admission state.- Returns:
- hosted revision and admission counters
-
drain
Closes admission and waits for admitted invocations before invoking the runtime drain hook.- Parameters:
deadline- absolute deadline- Throws:
IOException- on incomplete drain
-
replace
Replaces a drained instance using a verified trusted release and reopens admission.- Parameters:
release- server-catalog releasedeadline- absolute deadline- Throws:
IOException- for verification or uncertain runtime replacement
-