|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 SourceValidity
public int isValid(SourceValidity sv)
isValid
in interface SourceValidity
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |