public class CatchupPollingProcess
extends org.neo4j.kernel.lifecycle.LifecycleAdapter
BatchingTxApplier. Pull requests are issued on
a fixed interval.
If the necessary transactions are not remotely available then a fresh copy of the
entire store will be pulled down.| Constructor and Description |
|---|
CatchupPollingProcess(org.neo4j.logging.LogProvider logProvider,
org.neo4j.io.fs.FileSystemAbstraction fs,
LocalDatabase localDatabase,
org.neo4j.kernel.lifecycle.Lifecycle startStopOnStoreCopy,
StoreFetcher storeFetcher,
CatchUpClient catchUpClient,
CoreMemberSelectionStrategy connectionStrategy,
RenewableTimeoutService timeoutService,
long txPullIntervalMillis,
BatchingTxApplier applier,
org.neo4j.kernel.monitoring.Monitors monitors,
CopiedStoreRecovery copiedStoreRecovery,
Supplier<org.neo4j.kernel.internal.DatabaseHealth> databaseHealthSupplier) |
| Modifier and Type | Method and Description |
|---|---|
void |
start() |
org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess.State |
state() |
void |
stop() |
Future<Boolean> |
upToDateFuture() |
public CatchupPollingProcess(org.neo4j.logging.LogProvider logProvider,
org.neo4j.io.fs.FileSystemAbstraction fs,
LocalDatabase localDatabase,
org.neo4j.kernel.lifecycle.Lifecycle startStopOnStoreCopy,
StoreFetcher storeFetcher,
CatchUpClient catchUpClient,
CoreMemberSelectionStrategy connectionStrategy,
RenewableTimeoutService timeoutService,
long txPullIntervalMillis,
BatchingTxApplier applier,
org.neo4j.kernel.monitoring.Monitors monitors,
CopiedStoreRecovery copiedStoreRecovery,
Supplier<org.neo4j.kernel.internal.DatabaseHealth> databaseHealthSupplier)
public void start()
throws Throwable
start in interface org.neo4j.kernel.lifecycle.Lifecyclestart in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic Future<Boolean> upToDateFuture() throws InterruptedException
InterruptedExceptionpublic void stop()
throws Throwable
stop in interface org.neo4j.kernel.lifecycle.Lifecyclestop in class org.neo4j.kernel.lifecycle.LifecycleAdapterThrowablepublic org.neo4j.causalclustering.catchup.tx.CatchupPollingProcess.State state()
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.