Package | Description |
---|---|
com.gemstone.gemfire.cache.snapshot |
Provides API's for importing and exporting cached data into snapshot files.
|
Modifier and Type | Method and Description |
---|---|
SnapshotOptions<Object,Object> |
CacheSnapshotService.createOptions()
Creates a
SnapshotOptions object configured with default
settings. |
SnapshotOptions<K,V> |
RegionSnapshotService.createOptions()
Creates a
SnapshotOptions object configured with default
settings. |
SnapshotOptions<K,V> |
SnapshotOptions.setFilter(SnapshotFilter<K,V> filter)
Sets a filter to apply to snapshot entries.
|
Modifier and Type | Method and Description |
---|---|
void |
CacheSnapshotService.load(File[] snapshots,
SnapshotOptions.SnapshotFormat format,
SnapshotOptions<Object,Object> options)
Imports the specified files into the cache by applying user-configured
options.
|
void |
RegionSnapshotService.load(File snapshot,
SnapshotOptions.SnapshotFormat format,
SnapshotOptions<K,V> options)
Imports the snapshot file into the specified region by applying user-
configured options.
|
void |
RegionSnapshotService.save(File snapshot,
SnapshotOptions.SnapshotFormat format,
SnapshotOptions<K,V> options)
Exports the region data into the snapshot file by applying user-configured
options.
|
void |
CacheSnapshotService.save(File dir,
SnapshotOptions.SnapshotFormat format,
SnapshotOptions<Object,Object> options)
Exports all regions in the cache to the specified directory by applying
user-configured options.
|
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.