Class ManagedAsyncProcessorAwaitManager
- java.lang.Object
-
- org.apache.camel.management.mbean.ManagedService
-
- org.apache.camel.management.mbean.ManagedAsyncProcessorAwaitManager
-
- All Implemented Interfaces:
org.apache.camel.api.management.ManagedInstance,org.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean,org.apache.camel.api.management.mbean.ManagedServiceMBean
@ManagedResource(description="Managed AsyncProcessorAwaitManager") public class ManagedAsyncProcessorAwaitManager extends ManagedService implements org.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
-
Constructor Summary
Constructors Constructor Description ManagedAsyncProcessorAwaitManager(org.apache.camel.CamelContext context, org.apache.camel.spi.AsyncProcessorAwaitManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabularDatabrowse()org.apache.camel.spi.AsyncProcessorAwaitManagergetAsyncProcessorAwaitManager()longgetMaxDuration()longgetMeanDuration()longgetMinDuration()intgetSize()longgetThreadsBlocked()longgetThreadsInterrupted()longgetTotalDuration()voidinterrupt(String exchangeId)booleanisInterruptThreadsWhileStopping()booleanisStatisticsEnabled()voidresetStatistics()voidsetInterruptThreadsWhileStopping(boolean interruptThreadsWhileStopping)voidsetStatisticsEnabled(boolean statisticsEnabled)-
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
-
ManagedAsyncProcessorAwaitManager
public ManagedAsyncProcessorAwaitManager(org.apache.camel.CamelContext context, org.apache.camel.spi.AsyncProcessorAwaitManager manager)
-
-
Method Detail
-
getAsyncProcessorAwaitManager
public org.apache.camel.spi.AsyncProcessorAwaitManager getAsyncProcessorAwaitManager()
-
isInterruptThreadsWhileStopping
public boolean isInterruptThreadsWhileStopping()
- Specified by:
isInterruptThreadsWhileStoppingin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
setInterruptThreadsWhileStopping
public void setInterruptThreadsWhileStopping(boolean interruptThreadsWhileStopping)
- Specified by:
setInterruptThreadsWhileStoppingin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getSize
public int getSize()
- Specified by:
getSizein interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
browse
public TabularData browse()
- Specified by:
browsein interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
interrupt
public void interrupt(String exchangeId)
- Specified by:
interruptin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getThreadsBlocked
public long getThreadsBlocked()
- Specified by:
getThreadsBlockedin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getThreadsInterrupted
public long getThreadsInterrupted()
- Specified by:
getThreadsInterruptedin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getTotalDuration
public long getTotalDuration()
- Specified by:
getTotalDurationin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getMinDuration
public long getMinDuration()
- Specified by:
getMinDurationin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getMaxDuration
public long getMaxDuration()
- Specified by:
getMaxDurationin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
getMeanDuration
public long getMeanDuration()
- Specified by:
getMeanDurationin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
resetStatistics
public void resetStatistics()
- Specified by:
resetStatisticsin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
isStatisticsEnabled
public boolean isStatisticsEnabled()
- Specified by:
isStatisticsEnabledin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
setStatisticsEnabled
public void setStatisticsEnabled(boolean statisticsEnabled)
- Specified by:
setStatisticsEnabledin interfaceorg.apache.camel.api.management.mbean.ManagedAsyncProcessorAwaitManagerMBean
-
-