Class KeyValueEvent.BeforeGetEvent<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.BeforeGetEvent<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- KeyValueEvent<T>
KeyValueEvent
raised before loading an object by its key.- Author:
- Christoph Strobl
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.keyvalue.core.event.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 java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
BeforeGetEvent
(Object key, String keyspace, Class<T> type) -
Method Summary
Methods inherited from class org.springframework.data.keyvalue.core.event.KeyValueEvent
afterDelete, afterDropKeySpace, afterGet, afterInsert, afterUpdate, beforeDelete, beforeDropKeySpace, beforeGet, beforeInsert, beforeUpdate, getKeyspace, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
-
Constructor Details
-
BeforeGetEvent
-
-
Method Details
-
getKey
-
getSource
- Overrides:
getSource
in classEventObject
-
getType
Get the type of the element theKeyValueEvent
refers to.- Returns:
-