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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongThe time at which this object was created.getKey()voidsetEventName(String eventName) voidvoidsetOptionalDetails(String optionalDetails) voidvoidtoString()
-
Constructor Details
-
CacheEvent
public CacheEvent()
-
-
Method Details
-
setSource
- Specified by:
setSourcein interfaceICacheEvent<K>- Parameters:
source- the source to set
-
getSource
- Specified by:
getSourcein interfaceICacheEvent<K>- Returns:
- the source
-
setRegion
- Specified by:
setRegionin interfaceICacheEvent<K>- Parameters:
region- the region to set
-
getRegion
- Specified by:
getRegionin interfaceICacheEvent<K>- Returns:
- the region
-
setEventName
- Specified by:
setEventNamein interfaceICacheEvent<K>- Parameters:
eventName- the eventName to set
-
getEventName
- Specified by:
getEventNamein interfaceICacheEvent<K>- Returns:
- the eventName
-
setOptionalDetails
- Specified by:
setOptionalDetailsin interfaceICacheEvent<K>- Parameters:
optionalDetails- the optionalDetails to set
-
getOptionalDetails
- Specified by:
getOptionalDetailsin interfaceICacheEvent<K>- Returns:
- the optionalDetails
-
setKey
- Specified by:
setKeyin interfaceICacheEvent<K>- Parameters:
key- the key to set
-
getKey
- Specified by:
getKeyin interfaceICacheEvent<K>- Returns:
- the key
-
getCreateTime
The time at which this object was created.- Returns:
- the createTime
-
toString
-