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
ConstructorDescriptionRegionSnapshotServiceAdapter
(org.apache.geode.cache.snapshot.RegionSnapshotService<K, V> snapshotService) -
Method Summary
Modifier and TypeMethodDescriptionprotected File[]
handleLocation
(SnapshotServiceFactoryBean.SnapshotMetadata<K, V> configuration) void
void
load
(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K, V> options, File... snapshots) void
void
save
(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:
createOptions
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,
V> - Overrides:
createOptions
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,
V>
-
handleLocation
- Specified by:
handleLocation
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,
V>
-
load
public void load(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,
V> - Overrides:
load
in 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:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,
V> - Overrides:
load
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,
V>
-
save
public void save(File snapshot, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,
V> - Overrides:
save
in 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:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<K,
V> - Overrides:
save
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,
V>
-