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
ConstructorDescriptionCacheSnapshotServiceAdapter
(org.apache.geode.cache.snapshot.CacheSnapshotService snapshotService) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.geode.cache.snapshot.CacheSnapshotService
protected File[]
handleLocation
(SnapshotServiceFactoryBean.SnapshotMetadata<Object, Object> configuration) void
void
load
(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<Object, Object> options, File... snapshots) void
void
save
(File directory, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.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
public CacheSnapshotServiceAdapter(org.apache.geode.cache.snapshot.CacheSnapshotService snapshotService)
-
-
Method Details
-
getSnapshotService
protected org.apache.geode.cache.snapshot.CacheSnapshotService 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
public void load(File directory, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
load
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
load
public void load(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<Object, Object> options, File... snapshots) - Specified by:
load
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
load
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
save
public void save(File directory, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) - Specified by:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
save
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-
save
public void save(File directory, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<Object, Object> options) - Specified by:
save
in interfaceSnapshotServiceFactoryBean.SnapshotServiceAdapter<Object,
Object> - Overrides:
save
in classSnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<Object,
Object>
-