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.apache.commons.logging.Log |
log |
protected static File |
TEMPORARY_DIRECTORY |
| Modifier | Constructor and Description |
|---|---|
protected |
SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport() |
| Modifier and Type | Method and Description |
|---|---|
com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> |
createOptions() |
protected com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> |
createOptions(com.gemstone.gemfire.cache.snapshot.SnapshotFilter<K,V> filter) |
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,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format) |
void |
load(com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> options,
File... snapshots) |
protected void |
logDebug(Throwable t,
String message,
Object... arguments) |
void |
save(File location,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format) |
void |
save(File location,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> options) |
protected String |
toSimpleFilename(String pathname) |
protected static final File TEMPORARY_DIRECTORY
protected final org.apache.commons.logging.Log log
protected SnapshotServiceFactoryBean.SnapshotServiceAdapterSupport()
public com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> createOptions()
createOptions in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>protected com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> createOptions(com.gemstone.gemfire.cache.snapshot.SnapshotFilter<K,V> filter)
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, com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format)
load in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>public void load(com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format,
com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> options,
File... snapshots)
load in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>public void save(File location, com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format)
save in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>public void save(File location, com.gemstone.gemfire.cache.snapshot.SnapshotOptions.SnapshotFormat format, com.gemstone.gemfire.cache.snapshot.SnapshotOptions<K,V> options)
save in interface SnapshotServiceFactoryBean.SnapshotServiceAdapter<K,V>