public class StoreCopyClient extends Object
Response containing the store files and transactions happening while streaming
all the files. After the store files have been streamed, the transactions will be applied so that
the store will end up in a consistent state.StoreCopyServer| Modifier and Type | Class and Description |
|---|---|
static interface |
StoreCopyClient.Monitor |
static interface |
StoreCopyClient.StoreCopyRequester
This is built as a pluggable interface to allow backup and HA to use this code independently of each other,
each implements it's own version of how to copy a store from a remote location.
|
| Constructor and Description |
|---|
StoreCopyClient(File storeDir,
org.neo4j.kernel.configuration.Config config,
Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> kernelExtensions,
org.neo4j.logging.LogProvider logProvider,
org.neo4j.io.fs.FileSystemAbstraction fs,
org.neo4j.io.pagecache.PageCache pageCache,
StoreCopyClient.Monitor monitor,
boolean forensics) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyStore(StoreCopyClient.StoreCopyRequester requester,
org.neo4j.helpers.CancellationRequest cancellationRequest,
MoveAfterCopy moveAfterCopy) |
public StoreCopyClient(File storeDir, org.neo4j.kernel.configuration.Config config, Iterable<org.neo4j.kernel.extension.KernelExtensionFactory<?>> kernelExtensions, org.neo4j.logging.LogProvider logProvider, org.neo4j.io.fs.FileSystemAbstraction fs, org.neo4j.io.pagecache.PageCache pageCache, StoreCopyClient.Monitor monitor, boolean forensics)
public void copyStore(StoreCopyClient.StoreCopyRequester requester, org.neo4j.helpers.CancellationRequest cancellationRequest, MoveAfterCopy moveAfterCopy) throws Exception
ExceptionCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.