public class CoreStateApplier extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CoreStateApplier.Status |
| Constructor and Description |
|---|
CoreStateApplier(org.neo4j.logging.LogProvider logProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
panic() |
boolean |
submit(Function<CoreStateApplier.Status,Runnable> abortableTask)
Submit a task that can check the shutdown flag periodically to
abort its operation.
|
void |
sync(boolean cancelTasks)
Used for synchronizing with the internal executor.
|
public CoreStateApplier(org.neo4j.logging.LogProvider logProvider)
public boolean submit(Function<CoreStateApplier.Status,Runnable> abortableTask)
abortableTask - A function that creates a runnable that can use
the status flag to decide when to abort.public void sync(boolean cancelTasks)
cancelTasks - Whether or not to flag for cancelling.public void panic()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.