org.apache.cocoon.caching.validity
Class Event
java.lang.Object
org.apache.cocoon.caching.validity.Event
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NamedEvent, NameValueEvent
public abstract class Event
- extends Object
- implements Serializable
Base class encapsulating the information about an external
uncache event.
- Version:
- $Id: Event.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Geoff Howard (ghoward@apache.org)
- See Also:
- Serialized Form
Constructor Summary |
Event()
|
Method Summary |
abstract boolean |
equals(Event e)
Used by EventValidity for equals(Object o) which
is important for determining whether a received event
should uncache a held Pipeline key. |
boolean |
equals(Object o)
|
abstract int |
hashCode()
This hash code is the only way the system can locate
matching Events when a new event notification is received. |
Event
public Event()
equals
public abstract boolean equals(Event e)
- Used by EventValidity for equals(Object o) which
is important for determining whether a received event
should uncache a held Pipeline key.
- Parameters:
e
- Another Event to compare.
- Returns:
- true if
hashCode
public abstract int hashCode()
- This hash code is the only way the system can locate
matching Events when a new event notification is received.
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.