public class CommandApplicationProcess
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
| Constructor and Description |
|---|
CommandApplicationProcess(CoreStateMachines coreStateMachines,
RaftLog raftLog,
int maxBatchSize,
int flushEvery,
Supplier<org.neo4j.kernel.internal.DatabaseHealth> dbHealth,
org.neo4j.logging.LogProvider logProvider,
ProgressTracker progressTracker,
StateStorage<Long> lastFlushedStorage,
SessionTracker sessionTracker,
CoreStateApplier applier,
InFlightMap<RaftLogEntry> inFlightMap,
org.neo4j.kernel.monitoring.Monitors monitors) |
| Modifier and Type | Method and Description |
|---|---|
CoreSnapshot |
snapshot(RaftMachine raft) |
void |
start() |
void |
stop() |
void |
sync() |
public CommandApplicationProcess(CoreStateMachines coreStateMachines, RaftLog raftLog, int maxBatchSize, int flushEvery, Supplier<org.neo4j.kernel.internal.DatabaseHealth> dbHealth, org.neo4j.logging.LogProvider logProvider, ProgressTracker progressTracker, StateStorage<Long> lastFlushedStorage, SessionTracker sessionTracker, CoreStateApplier applier, InFlightMap<RaftLogEntry> inFlightMap, org.neo4j.kernel.monitoring.Monitors monitors)
public void sync()
throws InterruptedException
InterruptedExceptionpublic void start()
throws IOException,
InterruptedException
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in class org.neo4j.kernel.lifecycle.LifecycleAdapterIOExceptionInterruptedExceptionpublic void stop()
throws InterruptedException,
IOException
stop in interface org.neo4j.kernel.lifecycle.Lifecyclestop in class org.neo4j.kernel.lifecycle.LifecycleAdapterInterruptedExceptionIOExceptionpublic CoreSnapshot snapshot(RaftMachine raft) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.