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 TypeMethodDescriptionlong
The time at which this object was created.getKey()
void
setEventName
(String eventName) void
void
setOptionalDetails
(String optionalDetails) void
void
toString()
-
Constructor Details
-
CacheEvent
public CacheEvent()
-
-
Method Details
-
setSource
- Specified by:
setSource
in interfaceICacheEvent<K>
- Parameters:
source
- the source to set
-
getSource
- Specified by:
getSource
in interfaceICacheEvent<K>
- Returns:
- the source
-
setRegion
- Specified by:
setRegion
in interfaceICacheEvent<K>
- Parameters:
region
- the region to set
-
getRegion
- Specified by:
getRegion
in interfaceICacheEvent<K>
- Returns:
- the region
-
setEventName
- Specified by:
setEventName
in interfaceICacheEvent<K>
- Parameters:
eventName
- the eventName to set
-
getEventName
- Specified by:
getEventName
in interfaceICacheEvent<K>
- Returns:
- the eventName
-
setOptionalDetails
- Specified by:
setOptionalDetails
in interfaceICacheEvent<K>
- Parameters:
optionalDetails
- the optionalDetails to set
-
getOptionalDetails
- Specified by:
getOptionalDetails
in interfaceICacheEvent<K>
- Returns:
- the optionalDetails
-
setKey
- Specified by:
setKey
in interfaceICacheEvent<K>
- Parameters:
key
- the key to set
-
getKey
- Specified by:
getKey
in interfaceICacheEvent<K>
- Returns:
- the key
-
getCreateTime
The time at which this object was created.- Returns:
- the createTime
-
toString
-