K
- the class type of the Cache Region key.V
- the class type of the Cache Region value.protected abstract static class SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport<K,V> extends Object implements SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
protected static File |
TEMPORARY_DIRECTORY |
Modifier | Constructor and Description |
---|---|
protected |
SnapshotServiceAdapterSupport() |
Modifier and Type | Method and Description |
---|---|
org.apache.geode.cache.snapshot.SnapshotOptions<K,V> |
createOptions() |
protected org.apache.geode.cache.snapshot.SnapshotOptions<K,V> |
createOptions(SnapshotServiceFactoryBean.SnapshotMetadata<K,V> metadata) |
void |
doExport(SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... configurations) |
void |
doImport(SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... configurations) |
protected boolean |
exceptionSuppressingClose(Closeable closeable) |
protected File[] |
handleDirectoryLocation(File directory) |
protected File[] |
handleFileLocation(File file) |
protected abstract File[] |
handleLocation(SnapshotServiceFactoryBean.SnapshotMetadata<K,V> configuration) |
void |
load(File directory,
org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) |
void |
load(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format,
org.apache.geode.cache.snapshot.SnapshotOptions<K,V> options,
File... snapshots) |
protected void |
logDebug(Throwable cause,
String message,
Object... arguments) |
void |
save(File location,
org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format) |
void |
save(File location,
org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format,
org.apache.geode.cache.snapshot.SnapshotOptions<K,V> options) |
protected String |
toSimpleFilename(String pathname) |
protected static final File TEMPORARY_DIRECTORY
protected final org.slf4j.Logger logger
public org.apache.geode.cache.snapshot.SnapshotOptions<K,V> createOptions()
createOptions
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
protected org.apache.geode.cache.snapshot.SnapshotOptions<K,V> createOptions(SnapshotServiceFactoryBean.SnapshotMetadata<K,V> metadata)
public void doExport(SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... configurations)
doExport
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
public void doImport(SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... configurations)
doImport
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
protected abstract File[] handleLocation(SnapshotServiceFactoryBean.SnapshotMetadata<K,V> configuration)
protected boolean exceptionSuppressingClose(Closeable closeable)
public void load(File directory, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format)
load
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
public void load(org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K,V> options, File... snapshots)
load
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
public void save(File location, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format)
save
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
public void save(File location, org.apache.geode.cache.snapshot.SnapshotOptions.SnapshotFormat format, org.apache.geode.cache.snapshot.SnapshotOptions<K,V> options)
save
in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.