|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InflightRepository
A repository which tracks in flight Exchange
s.
Method Summary | |
---|---|
void |
add(Exchange exchange)
Adds the exchange to the inflight registry to the total counter |
void |
add(Exchange exchange,
String routeId)
Adds the exchange to the inflight registry associated to the given route |
void |
remove(Exchange exchange)
Removes the exchange from the inflight registry to the total counter |
void |
remove(Exchange exchange,
String routeId)
Removes the exchange from the inflight registry removing association to the given route |
void |
removeRoute(String routeId)
Removes the route from the in flight registry. |
int |
size()
Current size of inflight exchanges. |
int |
size(Endpoint endpoint)
Deprecated. will be removed in a future Camel release. |
int |
size(String routeId)
Current size of inflight exchanges which are from the given route. |
Methods inherited from interface org.apache.camel.Service |
---|
start, stop |
Method Detail |
---|
void add(Exchange exchange)
exchange
- the exchangevoid remove(Exchange exchange)
exchange
- the exchangevoid add(Exchange exchange, String routeId)
exchange
- the exchangerouteId
- the id of the routevoid remove(Exchange exchange, String routeId)
exchange
- the exchangerouteId
- the id of the routeint size()
@Deprecated int size(Endpoint endpoint)
void removeRoute(String routeId)
routeId
- the id of the routeint size(String routeId)
routeId
- the id of the route
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |