| |
|
| java.lang.Object org.apache.cocoon.caching.validity.EventValidity
EventValidity | public class EventValidity implements SourceValidity(Code) | | The SourceValidity object for cache invalidation based on
external events.
author: Geoff Howard (ghoward@apache.org) version: $Id: EventValidity.java 433543 2006-08-22 06:22:54Z crossley $ |
Constructor Summary | |
public | EventValidity(Event ev) Constructor requires any subclass of Event. |
EventValidity | public EventValidity(Event ev)(Code) | | Constructor requires any subclass of Event.
Parameters: ev - |
getEvent | public Event getEvent()(Code) | | Returns the specific Event this validity is based on.
Event |
hashCode | public int hashCode()(Code) | | |
isValid | public int isValid()(Code) | | Basic implementation is always valid until event signals
otherwise. May never need other behavior.
|
isValid | public int isValid(SourceValidity sv)(Code) | | Older style of isValid
|
|
|
|