|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.DefaultTracedRouteNodes
public class DefaultTracedRouteNodes
Constructor Summary | |
---|---|
DefaultTracedRouteNodes()
|
Method Summary | |
---|---|
void |
addTraced(RouteNode entry)
Adds the entry that was intercepted |
void |
clear()
Clears all traced information |
int |
getAndIncrementCounter(ProcessorDefinition<?> node)
A private counter that increments, is used to as book keeping how far this exchange have been intercepted by the general intercept(). |
RouteNode |
getLastNode()
Gets the last node, is null if no last exists. |
java.util.List<RouteNode> |
getNodes()
Gets the current list of nodes, representing the route path the current Exchange has currently taken. |
RouteNode |
getSecondLastNode()
Gets the 2nd last node, is null if no last exists. |
void |
popBlock()
Pops the last block from tracing. |
void |
pushBlock()
Prepares a new block for tracing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTracedRouteNodes()
Method Detail |
---|
public void addTraced(RouteNode entry)
TracedRouteNodes
addTraced
in interface TracedRouteNodes
entry
- the entrypublic RouteNode getLastNode()
TracedRouteNodes
getLastNode
in interface TracedRouteNodes
public RouteNode getSecondLastNode()
TracedRouteNodes
getSecondLastNode
in interface TracedRouteNodes
public java.util.List<RouteNode> getNodes()
TracedRouteNodes
Exchange
has currently taken.
getNodes
in interface TracedRouteNodes
public void popBlock()
TracedRouteNodes
popBlock
in interface TracedRouteNodes
public void pushBlock()
TracedRouteNodes
pushBlock
in interface TracedRouteNodes
public void clear()
TracedRouteNodes
clear
in interface TracedRouteNodes
public int getAndIncrementCounter(ProcessorDefinition<?> node)
TracedRouteNodes
getAndIncrementCounter
in interface TracedRouteNodes
node
- the intercept node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |