|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.tagvaluepairs.TagValueEdgeAttributes
public class TagValueEdgeAttributes
This keeps track of the destinations, and the number of predicates within each destination that are interested in a particular edge. This irrespective of wether the edge in question is connected to another node in the matching tree graph or if its simply a destination edge. The destinations thus returned need to be fed into the event routing protocol, which provides the shortest routes to reach destinations at different levels.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.tagvaluepairs.TagValueMatchingDebugFlags |
|---|
TagValueClientEdgeAttributes_Debug, TagValueClientMatching_Debug, TagValueClientMatchingTreeEdge_Debug, TagValueClientMatchingTreeNode_Debug, TagValueClientProfile_Debug, TagValueEdgeAttributes_Debug, TagValueEvent_Debug, TagValueMatching_Debug, TagValueMatchingTreeEdge_Debug, TagValueMatchingTreeNode_Debug, TagValueProfile_Debug |
| Constructor Summary | |
|---|---|
TagValueEdgeAttributes()
|
|
| Method Summary | |
|---|---|
boolean |
containsDestinations()
This method serves as the precursor to the deletion of certain nodes and edges, in response to the removal of an interest in subscription predicates. |
void |
decrementPredicateCountForDestination(int _destination)
This method provides for decrementing the reference count assocaited with messages. |
int |
getDestinations()
Returns the list of destinations associated with the edge |
int[] |
getPredicateCountForDestinations()
Returns the predicate count associated with the destinations |
void |
incrementPredicateCountForDestination(int _destination)
This method increments the predicate count associated with the edge. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagValueEdgeAttributes()
| Method Detail |
|---|
public void incrementPredicateCountForDestination(int _destination)
public void decrementPredicateCountForDestination(int _destination)
public boolean containsDestinations()
public int getDestinations()
public int[] getPredicateCountForDestinations()
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||