Class AfterFindByKeyEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
com.google.cloud.spring.data.datastore.core.mapping.event.AfterFindByKeyEvent
- All Implemented Interfaces:
Serializable
An event published immediately after a read operation has finished.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAfterFindByKeyEvent
(Iterable results, Set<com.google.cloud.datastore.Key> keys) Constructor. -
Method Summary
Methods inherited from class com.google.cloud.spring.data.datastore.core.mapping.event.ReadEvent
getResults
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AfterFindByKeyEvent
Constructor.- Parameters:
results
- A list of results from the read operation where each item was mapped from a Cloud Datastore entity.keys
- The Keys that were attempted to be read.
-
-
Method Details