|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.caching.validity.EventValidity
The SourceValidity object for cache invalidation based on external events.
| Field Summary |
| Fields inherited from interface org.apache.excalibur.source.SourceValidity |
INVALID, UNKNOWN, UNKNWON, VALID |
| Constructor Summary | |
EventValidity(Event ev)
Constructor requires any subclass of Event. |
|
| Method Summary | |
boolean |
equals(Object o)
|
Event |
getEvent()
Returns the specific Event this validity is based on. |
int |
hashCode()
|
int |
isValid()
Basic implementation is always valid until event signals otherwise. |
int |
isValid(SourceValidity sv)
Older style of isValid |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public EventValidity(Event ev)
ev - | Method Detail |
public Event getEvent()
public int isValid()
isValid in interface SourceValiditypublic int isValid(SourceValidity sv)
isValid in interface SourceValiditypublic boolean equals(Object o)
public int hashCode()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||