| Modifier and Type | Method and Description |
|---|---|
void |
force()
Forces all changes to disk.
|
void |
init()
Initializes the store.
|
LabelScanReader |
newReader()
From the point a
LabelScanReader is created till it's closed the contents it
returns cannot change, i.e. |
void |
recover(Iterable<NodeLabelUpdate> updates)
Recover updates the store with a stream of updates of label->node mappings.
|
void |
shutdown()
Shuts down the store and all resources acquired by it.
|
ResourceIterator<File> |
snapshotStoreFiles() |
void |
start()
Starts the store.
|
void |
stop() |
void |
updateAndCommit(Iterable<NodeLabelUpdate> updates)
Update the store with a stream of updates of label->node mappings.
|
void updateAndCommit(Iterable<NodeLabelUpdate> updates) throws IOException
updates - the updates to store.IOException - if there was a problem updating the store.void recover(Iterable<NodeLabelUpdate> updates) throws IOException
updates - the updates to store.IOException - if there was a problem updating the store.void force()
throws org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException
org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException - if there was a problem forcing the state to persistent storage.LabelScanReader newReader()
LabelScanReader is created till it's closed the contents it
returns cannot change, i.e. it honors repeatable reads.LabelScanReader capable of retrieving nodes for labels.ResourceIterator<File> snapshotStoreFiles() throws IOException
IOExceptionvoid init()
throws IOException
init in interface LifecycleIOExceptionvoid start()
throws IOException
start in interface LifecycleIOExceptionvoid stop()
throws IOException
stop in interface LifecycleIOExceptionvoid shutdown()
throws IOException
shutdown in interface LifecycleIOExceptionCopyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.