org.apache.jcs.engine.logging
Class CacheEvent
java.lang.Object
org.apache.jcs.engine.logging.CacheEvent
- All Implemented Interfaces:
- java.io.Serializable, ICacheEvent
public class CacheEvent
- extends java.lang.Object
- implements ICacheEvent
It's returned from create and passed into log.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CacheEvent
public CacheEvent()
setSource
public void setSource(java.lang.String source)
- Specified by:
setSource in interface ICacheEvent
- Parameters:
source - the source to set
getSource
public java.lang.String getSource()
- Specified by:
getSource in interface ICacheEvent
- Returns:
- the source
setRegion
public void setRegion(java.lang.String region)
- Specified by:
setRegion in interface ICacheEvent
- Parameters:
region - the region to set
getRegion
public java.lang.String getRegion()
- Specified by:
getRegion in interface ICacheEvent
- Returns:
- the region
setEventName
public void setEventName(java.lang.String eventName)
- Specified by:
setEventName in interface ICacheEvent
- Parameters:
eventName - the eventName to set
getEventName
public java.lang.String getEventName()
- Specified by:
getEventName in interface ICacheEvent
- Returns:
- the eventName
setOptionalDetails
public void setOptionalDetails(java.lang.String optionalDetails)
- Specified by:
setOptionalDetails in interface ICacheEvent
- Parameters:
optionalDetails - the optionalDetails to set
getOptionalDetails
public java.lang.String getOptionalDetails()
- Specified by:
getOptionalDetails in interface ICacheEvent
- Returns:
- the optionalDetails
setKey
public void setKey(java.io.Serializable key)
- Specified by:
setKey in interface ICacheEvent
- Parameters:
key - the key to set
getKey
public java.io.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 java.lang.String toString()
- Overrides:
toString in class java.lang.Object
- Returns:
- reflection toString
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.