Class ElementEvent<T>
java.lang.Object
java.util.EventObject
org.apache.commons.jcs3.engine.control.event.ElementEvent<T>
- All Implemented Interfaces:
- Serializable,- IElementEvent<T>
Element events will trigger the creation of Element Event objects. This is a wrapper around the
 cache element that indicates the event triggered.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionElementEvent(T source, ElementEventType elementEvent) Constructor for the ElementEvent object
- 
Method SummaryModifier and TypeMethodDescriptionGets the elementEvent attribute of the ElementEvent objectMethods inherited from class java.util.EventObjecttoString
- 
Constructor Details- 
ElementEventConstructor for the ElementEvent object- Parameters:
- source- The Cache Element
- elementEvent- The event id defined in the enum class.
 
 
- 
- 
Method Details- 
getElementEventGets the elementEvent attribute of the ElementEvent object- Specified by:
- getElementEventin interface- IElementEvent<T>
- Returns:
- The elementEvent value. The List of values is defined in ElementEventType.
 
- 
getSource- Specified by:
- getSourcein interface- IElementEvent<T>
- Overrides:
- getSourcein class- EventObject
- Returns:
- the source of the event.
 
 
-