Package com.yahoo.concurrent.maintenance
Interface JobControlState
-
public interface JobControlState
Interface for managing job state and synchronization- Author:
- mpolden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Mutex
lockMaintenanceJob(java.lang.String job)
Acquire lock for running given jobjava.util.Set<java.lang.String>
readInactiveJobs()
Returns the set of jobs that are temporarily inactive
-
-
-
Method Detail
-
readInactiveJobs
java.util.Set<java.lang.String> readInactiveJobs()
Returns the set of jobs that are temporarily inactive
-
lockMaintenanceJob
Mutex lockMaintenanceJob(java.lang.String job)
Acquire lock for running given job
-
-