|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MatchedEventMap
Collection for internal use similar to the MatchedEventMap class in the client package that holds the one or more events that could match any defined event expressions. The optional tag value supplied when an event expression is created is used as a key for placing matching event objects into this collection.
Method Summary | |
---|---|
void |
add(int tag,
java.lang.Object theEvent)
Add an event to the collection identified by the given tag. |
EventBean |
getMatchingEvent(int tag)
Returns a single event instance given the tag identifier, or null if the tag could not be located. |
java.lang.Object |
getMatchingEventAsObject(int tag)
Returns the object for the matching event, be it the event bean array or the event bean. |
java.lang.Object |
getMatchingEventAsObjectByTag(java.lang.String key)
|
EventBean |
getMatchingEventByTag(java.lang.String resultEventAsName)
|
java.lang.Object[] |
getMatchingEvents()
Returns a map containing the events where the key is the event tag string and the value is the event instance. |
java.util.Map<java.lang.String,java.lang.Object> |
getMatchingEventsAsMap()
|
MatchedEventMapMeta |
getMeta()
|
void |
merge(MatchedEventMap other)
Merge the state of an other match event structure into this one by adding all entries within the MatchedEventMap to this match event. |
MatchedEventMap |
shallowCopy()
Make a shallow copy of this collection. |
Method Detail |
---|
void add(int tag, java.lang.Object theEvent)
tag
- is an identifier to retrieve the event fromtheEvent
- is the event object or array of event object to be addedjava.lang.Object[] getMatchingEvents()
EventBean getMatchingEvent(int tag)
tag
- is the identifier to look for
java.lang.Object getMatchingEventAsObject(int tag)
tag
- is the tag to return the object for
MatchedEventMap shallowCopy()
void merge(MatchedEventMap other)
other
- is the other instance to merge in.java.util.Map<java.lang.String,java.lang.Object> getMatchingEventsAsMap()
EventBean getMatchingEventByTag(java.lang.String resultEventAsName)
java.lang.Object getMatchingEventAsObjectByTag(java.lang.String key)
MatchedEventMapMeta getMeta()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |