SGF-408 - Provide support in the SDG XML namespace to load a pre-defined data set using GemFire Snapshot Service for development and testing purposes.
Fixed up Javadoc.
This commit is contained in:
@@ -253,7 +253,8 @@ public class SnapshotServiceFactoryBean<K, V> implements FactoryBean<SnapshotSer
|
||||
* or Region if initialized. In addition, this initialization method will perform the actual import.
|
||||
*
|
||||
* @throws Exception if the construction and initialization of the GemFire Snapshot Service fails.
|
||||
* @see SnapshotServiceFactoryBean.SnapshotServiceAdapter#doImport(SnapshotMetadata[])
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapter#doImport(SnapshotMetadata[])
|
||||
* @see #getSuppressImportOnInit()
|
||||
* @see #getImports()
|
||||
* @see #create()
|
||||
*/
|
||||
@@ -315,7 +316,7 @@ public class SnapshotServiceFactoryBean<K, V> implements FactoryBean<SnapshotSer
|
||||
* Performs an export of the GemFire Cache or Region if configured.
|
||||
*
|
||||
* @throws Exception if the Cache/Region data export operation fails.
|
||||
* @see SnapshotServiceFactoryBean.SnapshotServiceAdapter#doExport(SnapshotMetadata[])
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapter#doExport(SnapshotMetadata[])
|
||||
* @see #getExports()
|
||||
* @see #getObject()
|
||||
*/
|
||||
@@ -329,14 +330,14 @@ public class SnapshotServiceFactoryBean<K, V> implements FactoryBean<SnapshotSer
|
||||
* when details of the event match the criteria of this factory's constructed GemFire SnapshotService.
|
||||
*
|
||||
* @param event the SnapshotApplicationEvent triggering a GemFire Cache or Region data import/export.
|
||||
* @see SnapshotApplicationEvent
|
||||
* @see ExportSnapshotApplicationEvent
|
||||
* @see ImportSnapshotApplicationEvent
|
||||
* @see org.springframework.data.gemfire.snapshot.event.ExportSnapshotApplicationEvent
|
||||
* @see org.springframework.data.gemfire.snapshot.event.ImportSnapshotApplicationEvent
|
||||
* @see org.springframework.data.gemfire.snapshot.event.SnapshotApplicationEvent
|
||||
* @see #isMatch(SnapshotApplicationEvent)
|
||||
* @see #resolveSnapshotMetadata(SnapshotApplicationEvent)
|
||||
* @see #getObject()
|
||||
* @see SnapshotServiceFactoryBean.SnapshotServiceAdapter#doExport(SnapshotMetadata[])
|
||||
* @see SnapshotServiceFactoryBean.SnapshotServiceAdapter#doImport(SnapshotMetadata[])
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapter#doExport(SnapshotMetadata[])
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotServiceAdapter#doImport(SnapshotMetadata[])
|
||||
*/
|
||||
@Override
|
||||
public void onApplicationEvent(SnapshotApplicationEvent<K, V> event) {
|
||||
|
||||
@@ -36,7 +36,6 @@ public class ExportSnapshotApplicationEvent<K, V> extends SnapshotApplicationEve
|
||||
* @param source the source of the ApplicationEvent.
|
||||
* @param snapshotMetadata an array of SnapshotMetadata containing details for each export.
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
* @see #ExportSnapshotApplicationEvent(Object, String, SnapshotMetadata[])
|
||||
*/
|
||||
public ExportSnapshotApplicationEvent(Object source, SnapshotMetadata<K, V>... snapshotMetadata) {
|
||||
super(source, snapshotMetadata);
|
||||
|
||||
@@ -36,7 +36,6 @@ public class ImportSnapshotApplicationEvent<K, V> extends SnapshotApplicationEve
|
||||
* @param source the source of the ApplicationEvent.
|
||||
* @param snapshotMetadata an array of SnapshotMetadata containing details for each import.
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
* @see #ImportSnapshotApplicationEvent(Object, String, SnapshotMetadata[])
|
||||
*/
|
||||
public ImportSnapshotApplicationEvent(Object source, SnapshotMetadata<K, V>... snapshotMetadata) {
|
||||
super(source, snapshotMetadata);
|
||||
|
||||
@@ -19,7 +19,6 @@ package org.springframework.data.gemfire.snapshot.event;
|
||||
import static org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
import org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean;
|
||||
|
||||
import com.gemstone.gemfire.cache.Region;
|
||||
import com.gemstone.gemfire.management.internal.cli.util.spring.StringUtils;
|
||||
@@ -46,8 +45,7 @@ public abstract class SnapshotApplicationEvent<K, V> extends ApplicationEvent {
|
||||
*
|
||||
* @param source the source of the ApplicationEvent.
|
||||
* @param snapshotMetadata an array of SnapshotMetadata containing details for each import/export.
|
||||
* @see SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
* @see #SnapshotApplicationEvent(Object, String, SnapshotMetadata[])
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
*/
|
||||
public SnapshotApplicationEvent(Object source, SnapshotMetadata<K, V>... snapshotMetadata) {
|
||||
this(source, null, snapshotMetadata);
|
||||
@@ -60,7 +58,7 @@ public abstract class SnapshotApplicationEvent<K, V> extends ApplicationEvent {
|
||||
* @param source the source of the ApplicationEvent.
|
||||
* @param regionPath absolute pathname of the Region.
|
||||
* @param snapshotMetadata an array of SnapshotMetadata containing details for each import/export.
|
||||
* @see SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
*/
|
||||
public SnapshotApplicationEvent(Object source, String regionPath, SnapshotMetadata<K, V>... snapshotMetadata) {
|
||||
super(source);
|
||||
@@ -82,7 +80,7 @@ public abstract class SnapshotApplicationEvent<K, V> extends ApplicationEvent {
|
||||
* Gets the meta-data used to perform the GemFire Cache Region data snapshots.
|
||||
*
|
||||
* @return an array of SnapshotMetadata containing information necessary to perform the data export.
|
||||
* @see SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
* @see org.springframework.data.gemfire.snapshot.SnapshotServiceFactoryBean.SnapshotMetadata
|
||||
*/
|
||||
public SnapshotMetadata<K, V>[] getSnapshotMetadata() {
|
||||
return snapshotMetadata;
|
||||
|
||||
Reference in New Issue
Block a user