Class JobMonitor.IsDone
- java.lang.Object
-
- com.composum.sling.core.concurrent.JobMonitor
-
- com.composum.sling.core.concurrent.JobMonitor.IsDone
-
- Enclosing class:
- JobMonitor
public static class JobMonitor.IsDone extends JobMonitor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.concurrent.JobMonitor
JobMonitor.IsDone, JobMonitor.IsStarted
-
-
Field Summary
-
Fields inherited from class com.composum.sling.core.concurrent.JobMonitor
currentState, DELAY, done, finalState, isActive, jobId, jobManager, resolver, running, timeout, wasActive
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
goalReached()
-
Methods inherited from class com.composum.sling.core.concurrent.JobMonitor
call, checkJobState, done, error, getJob, started, stopped, succeeded, toString
-
-
-
-
Constructor Detail
-
IsDone
public IsDone(org.apache.sling.event.jobs.JobManager jobManager, org.apache.sling.api.resource.ResourceResolver resolver, String jobId, long timeout)
-
-
Method Detail
-
goalReached
protected boolean goalReached()
- Specified by:
goalReached
in classJobMonitor
-
-