org.apache.jcs.engine.logging.behavior
Interface ICacheEvent<K extends Serializable>

All Superinterfaces:
Serializable
All Known Implementing Classes:
CacheEvent

public interface ICacheEvent<K extends Serializable>
extends Serializable

Defines the common fields required by a cache event.


Method Summary
 String getEventName()
           
 K getKey()
           
 String getOptionalDetails()
           
 String getRegion()
           
 String getSource()
           
 void setEventName(String eventName)
           
 void setKey(K key)
           
 void setOptionalDetails(String optionalDetails)
           
 void setRegion(String region)
           
 void setSource(String source)
           
 

Method Detail

setSource

void setSource(String source)
Parameters:
source - the source to set

getSource

String getSource()
Returns:
the source

setRegion

void setRegion(String region)
Parameters:
region - the region to set

getRegion

String getRegion()
Returns:
the region

setEventName

void setEventName(String eventName)
Parameters:
eventName - the eventName to set

getEventName

String getEventName()
Returns:
the eventName

setOptionalDetails

void setOptionalDetails(String optionalDetails)
Parameters:
optionalDetails - the optionalDetails to set

getOptionalDetails

String getOptionalDetails()
Returns:
the optionalDetails

setKey

void setKey(K key)
Parameters:
key - the key to set

getKey

K getKey()
Returns:
the key


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.