org.apache.jcs.engine.logging
Class CacheEvent
java.lang.Object
org.apache.jcs.engine.logging.CacheEvent
- All Implemented Interfaces:
- Serializable, ICacheEvent
public class CacheEvent
- extends Object
- implements ICacheEvent
It's returned from create and passed into log.
- See Also:
- Serialized Form
CacheEvent
public CacheEvent()
setSource
public void setSource(String source)
- Specified by:
setSource
in interface ICacheEvent
- Parameters:
source
- the source to set
getSource
public String getSource()
- Specified by:
getSource
in interface ICacheEvent
- Returns:
- the source
setRegion
public void setRegion(String region)
- Specified by:
setRegion
in interface ICacheEvent
- Parameters:
region
- the region to set
getRegion
public String getRegion()
- Specified by:
getRegion
in interface ICacheEvent
- Returns:
- the region
setEventName
public void setEventName(String eventName)
- Specified by:
setEventName
in interface ICacheEvent
- Parameters:
eventName
- the eventName to set
getEventName
public String getEventName()
- Specified by:
getEventName
in interface ICacheEvent
- Returns:
- the eventName
setOptionalDetails
public void setOptionalDetails(String optionalDetails)
- Specified by:
setOptionalDetails
in interface ICacheEvent
- Parameters:
optionalDetails
- the optionalDetails to set
getOptionalDetails
public String getOptionalDetails()
- Specified by:
getOptionalDetails
in interface ICacheEvent
- Returns:
- the optionalDetails
setKey
public void setKey(Serializable key)
- Specified by:
setKey
in interface ICacheEvent
- Parameters:
key
- the key to set
getKey
public Serializable getKey()
- Specified by:
getKey
in interface ICacheEvent
- Returns:
- the key
getCreateTime
public long getCreateTime()
- The time at which this object was created.
- Returns:
- the createTime
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- reflection toString
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.