public abstract class BackupOptions extends Object
| Modifier and Type | Field and Description |
|---|---|
static BackupOptions |
DEFAULT
Default backup options which will be used when a backup is performed without an explicit set of options.
|
static int |
DEFAULT_BATCH_SIZE
The number of documents read form the persistent store and written in a backup file in one unit
|
static long |
DEFAULT_DOCUMENTS_PER_FILE
By default, 100K nodes will be exported to a single backup file.
|
| Constructor and Description |
|---|
BackupOptions() |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize()
Return the number of documents that should be read and written to the backup file in one unit.
|
boolean |
compress()
Return whether or not each backup file (which contains multiple documents) should be compressed or not.
|
long |
documentsPerFile()
Return the number of documents which should be backed up in a single file.
|
boolean |
includeBinaries()
Whether or not binary data should be part of the backup or not.
|
String |
toString() |
public static final long DEFAULT_DOCUMENTS_PER_FILE
public static final int DEFAULT_BATCH_SIZE
public static final BackupOptions DEFAULT
public boolean includeBinaries()
true if binary data should be exported; defaults to truepublic long documentsPerFile()
public int batchSize()
This is a setting that can be used to influence the memory and throughout of the backup process.
public boolean compress()
true if the backup files should be compressed; defaults to trueCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.