Class KeyValueEvent.AfterInsertEvent<T>
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.data.keyvalue.core.event.KeyValueEvent<T>
org.springframework.data.keyvalue.core.event.KeyValueEvent.AfterInsertEvent<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Serializable
- Enclosing class:
KeyValueEvent<T>
KeyValueEvent after inserting an object by with a given key.- Author:
- Christoph Strobl
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class KeyValueEvent
KeyValueEvent.AfterDeleteEvent<T>, KeyValueEvent.AfterDropKeySpaceEvent<T>, KeyValueEvent.AfterGetEvent<T>, KeyValueEvent.AfterInsertEvent<T>, KeyValueEvent.AfterUpdateEvent<T>, KeyValueEvent.BeforeDeleteEvent<T>, KeyValueEvent.BeforeDropKeySpaceEvent<T>, KeyValueEvent.BeforeGetEvent<T>, KeyValueEvent.BeforeInsertEvent<T>, KeyValueEvent.BeforeUpdateEvent<T> -
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Get the value of the element theKeyValueEventrefers to.getType()Get the type of the element theKeyValueEventrefers to.Methods inherited from class KeyValueEvent
afterDelete, afterDropKeySpace, afterGet, afterInsert, afterUpdate, beforeDelete, beforeDropKeySpace, beforeGet, beforeInsert, beforeUpdate, getKeyspace, toStringMethods inherited from class ApplicationEvent
getTimestamp
-
Constructor Details
-
AfterInsertEvent
-
-
Method Details
-
getPayload
Get the value of the element theKeyValueEventrefers to. Can be null.- Returns:
-
getKey
-
getSource
- Overrides:
getSourcein classEventObject
-
getType
Get the type of the element theKeyValueEventrefers to.- Returns:
-