T
- public static class KeyValueEvent.AfterDeleteEvent<T> extends KeyValueEvent<T>
KeyValueEvent
after removing an object by with a given key.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>
source
Constructor and Description |
---|
AfterDeleteEvent(Serializable key,
String keySpace,
Class<? extends T> type,
T payload) |
Modifier and Type | Method and Description |
---|---|
Serializable |
getKey() |
T |
getPayload()
Get the value of the element the
KeyValueEvent refers to. |
Serializable |
getSource() |
Class<? extends T> |
getType()
Get the type of the element the
KeyValueEvent refers to. |
afterDelete, afterDropKeySpace, afterGet, afterInsert, afterUpdate, beforeDelete, beforeDropKeySpace, beforeGet, beforeInsert, beforeUpdate, getKeyspace, toString
public AfterDeleteEvent(Serializable key, String keySpace, Class<? extends T> type, T payload)
public T getPayload()
KeyValueEvent
refers to. Can be null.public Serializable getKey()
public Serializable getSource()
getSource
in class EventObject
public Class<? extends T> getType()
KeyValueEvent
refers to.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.