|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.engine.control.event.ElementEventQueue
public class ElementEventQueue
An event queue is used to propagate ordered cache events to one and only one target listener.
Constructor Summary | |
---|---|
ElementEventQueue(java.lang.String cacheName)
Constructor for the ElementEventQueue object |
Method Summary | |
---|---|
void |
addElementEvent(IElementEventHandler hand,
IElementEvent event)
Adds an ElementEvent to be handled |
void |
destroy()
Event Q is emtpy. |
boolean |
isAlive()
Gets the alive attribute of the IElementEventQueue object |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ElementEventQueue(java.lang.String cacheName)
cacheName
- Method Detail |
---|
public void destroy()
destroy
in interface IElementEventQueue
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isAlive()
IElementEventQueue
isAlive
in interface IElementEventQueue
public void addElementEvent(IElementEventHandler hand, IElementEvent event) throws java.io.IOException
addElementEvent
in interface IElementEventQueue
hand
- The IElementEventHandlerevent
- The IElementEventHandler IElementEvent event
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |