Class SnapshotServiceFactoryBean.CacheSnapshotServiceAdapter
java.lang.Object
org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,Object>
org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.CacheSnapshotServiceAdapter
- All Implemented Interfaces:
SnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object>
- Enclosing class:
- SnapshotServiceFactoryBean<K,
V>
protected static class SnapshotServiceFactoryBean.CacheSnapshotServiceAdapter
extends SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,Object>
The CacheSnapshotServiceAdapter is a SnapshotServiceAdapter adapting GemFire's CacheSnapshotService.
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport
logger, TEMPORARY_DIRECTORY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected CacheSnapshotService
protected File[]
handleLocation
(SnapshotServiceFactoryBean.SnapshotMetadata<Object, Object> configuration) void
load
(File directory, SnapshotOptions.SnapshotFormat format) void
load
(SnapshotOptions.SnapshotFormat format, SnapshotOptions<Object, Object> options, File... snapshots) void
save
(File directory, SnapshotOptions.SnapshotFormat format) void
save
(File directory, SnapshotOptions.SnapshotFormat format, SnapshotOptions<Object, Object> options) Methods inherited from class org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport
createOptions, doExport, doImport, exceptionSuppressingClose, handleDirectoryLocation, handleFileLocation, logDebug, toSimpleFilename
-
Constructor Details
-
CacheSnapshotServiceAdapter
-
-
Method Details
-
getSnapshotService
-
createOptions
- Specified by:
createOptions
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
createOptions
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
handleLocation
protected File[] handleLocation(SnapshotServiceFactoryBean.SnapshotMetadata<Object, Object> configuration) - Specified by:
handleLocation
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
load
- Specified by:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
load
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
load
public void load(SnapshotOptions.SnapshotFormat format, SnapshotOptions<Object, Object> options, File... snapshots) - Specified by:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
load
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
save
- Specified by:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
save
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
save
public void save(File directory, SnapshotOptions.SnapshotFormat format, SnapshotOptions<Object, Object> options) - Specified by:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
save
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-