public class RobustJobSchedulerWrapper extends Object
| Constructor and Description |
|---|
RobustJobSchedulerWrapper(org.neo4j.kernel.impl.util.JobScheduler delegate,
org.neo4j.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelAndWaitTermination(org.neo4j.kernel.impl.util.JobScheduler.JobHandle job)
Note that because of the cancellation, the effects of the job
are not necessarily visible after this call, which is different
from a pure waitForTermination call.
|
org.neo4j.kernel.impl.util.JobScheduler.JobHandle |
schedule(String name,
long delayMillis,
org.neo4j.function.ThrowingAction<Exception> action) |
org.neo4j.kernel.impl.util.JobScheduler.JobHandle |
scheduleRecurring(String name,
long periodMillis,
org.neo4j.function.ThrowingAction<Exception> action) |
public RobustJobSchedulerWrapper(org.neo4j.kernel.impl.util.JobScheduler delegate,
org.neo4j.logging.Log log)
public org.neo4j.kernel.impl.util.JobScheduler.JobHandle schedule(String name, long delayMillis, org.neo4j.function.ThrowingAction<Exception> action)
public org.neo4j.kernel.impl.util.JobScheduler.JobHandle scheduleRecurring(String name, long periodMillis, org.neo4j.function.ThrowingAction<Exception> action)
public void cancelAndWaitTermination(org.neo4j.kernel.impl.util.JobScheduler.JobHandle job)
job - The job to terminate.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.