Class ImportSnapshotApplicationEvent<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.ImportSnapshotApplicationEvent<K,V>
All Implemented Interfaces:
Serializable

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

    • ImportSnapshotApplicationEvent

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

      public ImportSnapshotApplicationEvent(Object source, String regionPath, SnapshotServiceFactoryBean.SnapshotMetadata<K,V>... snapshotMetadata)
      Constructs an instance of ImportSnapshotApplicationEvent initialized with an event source, a pathname of the Region in which data is imported 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 import/export.
      See Also: