Spring Data for VMware GemFire
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
The ExportSnapshotApplicationEvent class is a Spring ApplicationEvent signaling a GemFire Cache or Region 'import'
snapshot event.
- Since:
- 1.7.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionExportSnapshotApplicationEvent(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.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. -
Method Summary
Methods inherited from class org.springframework.data.gemfire.snapshot.event.SnapshotApplicationEvent
getRegionPath, getSnapshotMetadata, isCacheSnapshotEvent, isRegionSnapshotEvent, matches, matchesMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
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:
-