|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultInflightRepository
public class DefaultInflightRepository
Default implement which just uses a counter
| Constructor Summary | |
|---|---|
DefaultInflightRepository()
|
|
| Method Summary | |
|---|---|
void |
add(Exchange exchange)
Adds the exchange to the inflight registry |
protected void |
doStart()
|
protected void |
doStop()
|
void |
remove(Exchange exchange)
Removes the exchange from the inflight registry |
int |
size()
Current size of inflight exchanges. |
int |
size(Endpoint endpoint)
Current size of inflight exchanges which are from the given endpoint. |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Constructor Detail |
|---|
public DefaultInflightRepository()
| Method Detail |
|---|
public void add(Exchange exchange)
InflightRepository
add in interface InflightRepositoryexchange - the exchangepublic void remove(Exchange exchange)
InflightRepository
remove in interface InflightRepositoryexchange - the exchangepublic int size()
InflightRepository
size in interface InflightRepositorypublic int size(Endpoint endpoint)
InflightRepository
size in interface InflightRepositoryendpoint - the endpoint where the Exchange are from.
protected void doStart()
throws Exception
doStart in class ServiceSupportException
protected void doStop()
throws Exception
doStop in class ServiceSupportException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||