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