T - public static class KeyValueEvent.BeforeGetEvent<T> extends KeyValueEvent<T>
KeyValueEvent raised before loading an object by its 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| Modifier | Constructor and Description |
|---|---|
protected |
BeforeGetEvent(Serializable key,
String keySpace,
Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getKey() |
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, toStringgetTimestampprotected BeforeGetEvent(Serializable key, String keySpace, Class<T> type)
public Serializable getKey()
public Serializable getSource()
getSource in class EventObjectpublic Class<? extends T> getType()
KeyValueEvent refers to.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.