Class ManagedInflightRepository
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedService
-
- org.apache.camel.management.mbean.ManagedInflightRepository
-
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance
,org.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
,org.apache.camel.api.management.mbean.ManagedServiceMBean
@ManagedResource(description="Managed InflightRepository") public class ManagedInflightRepository extends ManagedService implements org.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
-
Constructor Summary
Constructors Constructor Description ManagedInflightRepository(org.apache.camel.CamelContext context, org.apache.camel.spi.InflightRepository inflightRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabularData
browse()
TabularData
browse(int limit, boolean sortByLongestDuration)
TabularData
browse(String routeId, int limit, boolean sortByLongestDuration)
org.apache.camel.spi.InflightRepository
getInflightRepository()
int
getSize()
boolean
isInflightBrowseEnabled()
int
size(String routeId)
-
Methods inherited from class org.apache.camel.management.mbean.ManagedService
getCamelId, getCamelManagementName, getContext, getInstance, getRoute, getRouteId, getService, getServiceType, getState, init, isStaticService, isSupportSuspension, isSuspended, resume, setRoute, start, stop, suspend
-
-
-
-
Constructor Detail
-
ManagedInflightRepository
public ManagedInflightRepository(org.apache.camel.CamelContext context, org.apache.camel.spi.InflightRepository inflightRepository)
-
-
Method Detail
-
getInflightRepository
public org.apache.camel.spi.InflightRepository getInflightRepository()
-
getSize
public int getSize()
- Specified by:
getSize
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
isInflightBrowseEnabled
public boolean isInflightBrowseEnabled()
- Specified by:
isInflightBrowseEnabled
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
size
public int size(String routeId)
- Specified by:
size
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
browse
public TabularData browse()
- Specified by:
browse
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
browse
public TabularData browse(int limit, boolean sortByLongestDuration)
- Specified by:
browse
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
browse
public TabularData browse(String routeId, int limit, boolean sortByLongestDuration)
- Specified by:
browse
in interfaceorg.apache.camel.api.management.mbean.ManagedInflightRepositoryMBean
-
-