Class BatchClusterQueryService
java.lang.Object
io.github.jchejarla.springbatch.clustering.query.BatchClusterQueryService
Read-only, job-centric view of the cluster: which node masters a job, how many partitions it has, and
where each partition is running. This complements the node-centric actuator endpoint.
Purely a set of SELECTs over the coordination tables — it never mutates state and is kept off
the hot coordination path. Applications can call it directly to build their own UI/API; the actuator
job endpoint is a thin wrapper over it.
- Author:
- Janardhan Chejarla
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJobView(long jobExecutionId) Returns the job-centric view for one job execution, or empty if it is not (or no longer) coordinated.Lists coordinated jobs, most recent first.
-
Constructor Details
-
BatchClusterQueryService
public BatchClusterQueryService()
-
-
Method Details
-
listCoordinatedJobs
Lists coordinated jobs, most recent first. -
getJobView
Returns the job-centric view for one job execution, or empty if it is not (or no longer) coordinated.
-