Class ExportSnapshotApplicationEvent<K,V>

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.gemfire.snapshot.event.SnapshotApplicationEvent<K,V>
org.springframework.data.gemfire.snapshot.event.ExportSnapshotApplicationEvent<K,V>
All Implemented Interfaces:
Serializable

public class ExportSnapshotApplicationEvent<K,V> extends SnapshotApplicationEvent<K,V>
The ExportSnapshotApplicationEvent class is a Spring ApplicationEvent signaling a GemFire Cache or Region 'import' snapshot event.
Since:
1.7.0
See Also:
  • Constructor Details

    • ExportSnapshotApplicationEvent

      public ExportSnapshotApplicationEvent(Object source, SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... snapshotMetadata)
      Constructs an instance of ExportSnapshotApplicationEvent initialized with an event source and optional meta-data describing the data snapshots to be exported.
      Parameters:
      source - the source of the ApplicationEvent.
      snapshotMetadata - an array of SnapshotMetadata containing details for each export.
      See Also:
    • ExportSnapshotApplicationEvent

      public ExportSnapshotApplicationEvent(Object source, String regionPath, SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... snapshotMetadata)
      Constructs an instance of ExportSnapshotApplicationEvent initialized with an event source, a pathname of the Region from which data is exported along with meta-data describing the details of the snapshot source.
      Parameters:
      source - the source of the ApplicationEvent.
      regionPath - absolute pathname of the Region.
      snapshotMetadata - an array of SnapshotMetadata containing details for each export.
      See Also: