public interface ISnapshotFactory
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCompress()
When
true the generated snapshot will be compressed. |
File |
getSnapshotFile(IRootBlockView rbv)
Return the
File on which the snapshot will be written. |
File getSnapshotFile(IRootBlockView rbv) throws IOException
File on which the snapshot will be written. A common
strategy is to label each snapshot with the commit counter from the
associated root block and place the snapshots within some directory known
to the application. E.g., "snapshots/snapshot-commitCounter.jnl". If the
snapshot is to be compressed, then the best practice is to have the file
name end with ".gz". See the CommitCounterUtility for helper
classes for dealing with commit counters as fixed width strings.rbv - The current root block. The snapshot will be consistent as of
the commit point associated with this root block.IOExceptionCommitCounterUtilityboolean getCompress()
true the generated snapshot will be compressed.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.