Class WorkloadAdmin
java.lang.Object
org.j7m.middleware.scheduler.WorkloadAdmin
Minimal admin/status formatter for workload scheduler state.
The class is immutable and thread-safe when the supplied scheduler is thread-safe. It exposes safe operational posture only: task counts, current task states, lease expiry, fencing token versions, progress, and workload counters. It does not expose payloads or credential material.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkloadAdmin(InMemoryWorkloadScheduler scheduler) Creates a workload admin view. -
Method Summary
Modifier and TypeMethodDescriptionFormats a human-readable status snapshot.
-
Constructor Details
-
WorkloadAdmin
Creates a workload admin view.- Parameters:
scheduler- scheduler to inspect
-
-
Method Details
-
formatStatus
-