Class CacheEvent<K>
java.lang.Object
org.apache.commons.jcs3.engine.logging.CacheEvent<K>
- All Implemented Interfaces:
- Serializable,- ICacheEvent<K>
It's returned from create and passed into log.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongThe time at which this object was created.getKey()voidsetEventName(String eventName) voidvoidsetOptionalDetails(String optionalDetails) voidvoidtoString()
- 
Constructor Details- 
CacheEventpublic CacheEvent()
 
- 
- 
Method Details- 
setSource- Specified by:
- setSourcein interface- ICacheEvent<K>
- Parameters:
- source- the source to set
 
- 
getSource- Specified by:
- getSourcein interface- ICacheEvent<K>
- Returns:
- the source
 
- 
setRegion- Specified by:
- setRegionin interface- ICacheEvent<K>
- Parameters:
- region- the region to set
 
- 
getRegion- Specified by:
- getRegionin interface- ICacheEvent<K>
- Returns:
- the region
 
- 
setEventName- Specified by:
- setEventNamein interface- ICacheEvent<K>
- Parameters:
- eventName- the eventName to set
 
- 
getEventName- Specified by:
- getEventNamein interface- ICacheEvent<K>
- Returns:
- the eventName
 
- 
setOptionalDetails- Specified by:
- setOptionalDetailsin interface- ICacheEvent<K>
- Parameters:
- optionalDetails- the optionalDetails to set
 
- 
getOptionalDetails- Specified by:
- getOptionalDetailsin interface- ICacheEvent<K>
- Returns:
- the optionalDetails
 
- 
setKey- Specified by:
- setKeyin interface- ICacheEvent<K>
- Parameters:
- key- the key to set
 
- 
getKey- Specified by:
- getKeyin interface- ICacheEvent<K>
- Returns:
- the key
 
- 
getCreateTimeThe time at which this object was created.- Returns:
- the createTime
 
- 
toString
 
-