|
||||||||||
| 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. |
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 TracedRouteNodesentry - the entrypublic RouteNode getLastNode()
TracedRouteNodes
getLastNode in interface TracedRouteNodespublic RouteNode getSecondLastNode()
TracedRouteNodes
getSecondLastNode in interface TracedRouteNodespublic List<RouteNode> getNodes()
TracedRouteNodesExchange has currently taken.
getNodes in interface TracedRouteNodespublic void popBlock()
TracedRouteNodes
popBlock in interface TracedRouteNodespublic void pushBlock()
TracedRouteNodes
pushBlock in interface TracedRouteNodespublic void clear()
TracedRouteNodes
clear in interface TracedRouteNodespublic int getAndIncrementCounter(ProcessorDefinition<?> node)
TracedRouteNodes
getAndIncrementCounter in interface TracedRouteNodesnode - the intercept node
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||