public class StoreCopyServer extends Object
Response to be picked up by a
StoreCopyClient, for example.StoreCopyClient| Modifier and Type | Class and Description |
|---|---|
static interface |
StoreCopyServer.Monitor |
| Constructor and Description |
|---|
StoreCopyServer(org.neo4j.kernel.NeoStoreDataSource dataSource,
org.neo4j.kernel.impl.transaction.log.checkpoint.CheckPointer checkPointer,
org.neo4j.io.fs.FileSystemAbstraction fileSystem,
File storeDirectory,
StoreCopyServer.Monitor monitor,
org.neo4j.io.pagecache.PageCache pageCache,
org.neo4j.kernel.impl.transaction.log.checkpoint.StoreCopyCheckPointMutex mutex) |
| Modifier and Type | Method and Description |
|---|---|
RequestContext |
flushStoresAndStreamStoreFiles(String triggerName,
StoreWriter writer,
boolean includeLogs)
Trigger store flush (checkpoint) and write
store files to the
given StoreWriter. |
StoreCopyServer.Monitor |
monitor() |
public StoreCopyServer(org.neo4j.kernel.NeoStoreDataSource dataSource,
org.neo4j.kernel.impl.transaction.log.checkpoint.CheckPointer checkPointer,
org.neo4j.io.fs.FileSystemAbstraction fileSystem,
File storeDirectory,
StoreCopyServer.Monitor monitor,
org.neo4j.io.pagecache.PageCache pageCache,
org.neo4j.kernel.impl.transaction.log.checkpoint.StoreCopyCheckPointMutex mutex)
public StoreCopyServer.Monitor monitor()
public RequestContext flushStoresAndStreamStoreFiles(String triggerName, StoreWriter writer, boolean includeLogs)
store files to the
given StoreWriter.triggerName - name of the component asks for store files.writer - store writer to write files to.includeLogs - true if transaction logs should be copied, false otherwise.RequestContext specifying at which point the store copy started.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.