Spring Data for VMware GemFire
Class SnapshotServiceFactoryBean.RegionSnapshotServiceAdapter<K,V>
java.lang.Object
org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.RegionSnapshotServiceAdapter<K,V>
- All Implemented Interfaces:
SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
- Enclosing class:
- SnapshotServiceFactoryBean<K,
V>
protected static class SnapshotServiceFactoryBean.RegionSnapshotServiceAdapter<K,V>
extends SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
The RegionSnapshotServiceAdapter is a SnapshotServiceAdapter adapting GemFire's RegionSnapshotService.
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport
logger, TEMPORARY_DIRECTORY -
Constructor Summary
ConstructorsConstructorDescriptionRegionSnapshotServiceAdapter(org.apache.geode.cache.snapshot.RegionSnapshotService<K, V> snapshotService) -
Method Summary
Modifier and TypeMethodDescriptionprotected File[]handleLocation(SnapshotServiceFactoryBean.SnapshotMetadata<K, V> configuration) voidvoidload(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K, V> options, File... snapshots) voidvoidsave(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K, V> options) Methods inherited from class org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport
createOptions, doExport, doImport, exceptionSuppressingClose, handleDirectoryLocation, handleFileLocation, logDebug, toSimpleFilename
-
Constructor Details
-
RegionSnapshotServiceAdapter
-
-
Method Details
-
getSnapshotService
-
createOptions
- Specified by:
createOptionsin interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V> - Overrides:
createOptionsin classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-
handleLocation
- Specified by:
handleLocationin classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-
load
public void load(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
loadin interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V> - Overrides:
loadin classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-
load
public void load(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K, V> options, File... snapshots) - Specified by:
loadin interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V> - Overrides:
loadin classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-
save
public void save(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
savein interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V> - Overrides:
savein classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-
save
public void save(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K, V> options) - Specified by:
savein interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V> - Overrides:
savein classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V>
-