|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cocoon.caching.validity.EventValidity
public class EventValidity
The SourceValidity object for cache invalidation based on external events.
| Field Summary |
|---|
| Fields inherited from interface org.apache.excalibur.source.SourceValidity |
|---|
INVALID, UNKNOWN, 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)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||