@IntegrationManagedResource public class NullChannel extends Object implements PollableChannel, MessageChannelMetrics, ConfigurableMetricsAware<AbstractMessageChannelMetrics>, BeanNameAware, NamedComponent
IntegrationManagement.ManagementOverridesINDEFINITE_TIMEOUTMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
NullChannel() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsendCount, sendErrorCountpublic void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic boolean isLoggingEnabled()
isLoggingEnabled in interface IntegrationManagementpublic void setLoggingEnabled(boolean loggingEnabled)
setLoggingEnabled in interface IntegrationManagement@Nullable public String getBeanName()
getBeanName in interface NamedComponent@Nullable public String getComponentName()
getComponentName in interface NamedComponentpublic String getComponentType()
getComponentType in interface NamedComponentpublic void registerMetricsCaptor(MetricsCaptor registry)
IntegrationManagementMetricsCaptorregisterMetricsCaptor in interface IntegrationManagementregistry - the captor.public void configureMetrics(AbstractMessageChannelMetrics metrics)
configureMetrics in interface ConfigurableMetricsAware<AbstractMessageChannelMetrics>public void reset()
reset in interface IntegrationManagementpublic void setCountsEnabled(boolean countsEnabled)
setCountsEnabled in interface IntegrationManagementpublic boolean isCountsEnabled()
isCountsEnabled in interface IntegrationManagementpublic void setStatsEnabled(boolean statsEnabled)
setStatsEnabled in interface IntegrationStatsManagementpublic boolean isStatsEnabled()
isStatsEnabled in interface IntegrationStatsManagementpublic int getSendCount()
getSendCount in interface MessageChannelMetricspublic long getSendCountLong()
getSendCountLong in interface MessageChannelMetricspublic int getSendErrorCount()
getSendErrorCount in interface MessageChannelMetricspublic long getSendErrorCountLong()
getSendErrorCountLong in interface MessageChannelMetricspublic double getTimeSinceLastSend()
getTimeSinceLastSend in interface MessageChannelMetricspublic double getMeanSendRate()
getMeanSendRate in interface MessageChannelMetricspublic double getMeanErrorRate()
getMeanErrorRate in interface MessageChannelMetricspublic double getMeanErrorRatio()
getMeanErrorRatio in interface MessageChannelMetricspublic double getMeanSendDuration()
getMeanSendDuration in interface MessageChannelMetricspublic double getMinSendDuration()
getMinSendDuration in interface MessageChannelMetricspublic double getMaxSendDuration()
getMaxSendDuration in interface MessageChannelMetricspublic double getStandardDeviationSendDuration()
getStandardDeviationSendDuration in interface MessageChannelMetricspublic Statistics getSendDuration()
getSendDuration in interface MessageChannelMetricspublic Statistics getSendRate()
getSendRate in interface MessageChannelMetricspublic Statistics getErrorRate()
getErrorRate in interface MessageChannelMetricspublic IntegrationManagement.ManagementOverrides getOverrides()
IntegrationManagementgetOverrides in interface IntegrationManagementpublic boolean send(Message<?> message, long timeout)
send in interface MessageChannelpublic boolean send(Message<?> message)
send in interface MessageChannelpublic Message<?> receive()
receive in interface PollableChannelpublic Message<?> receive(long timeout)
receive in interface PollableChannelpublic void destroy()
destroy in interface DisposableBeandestroy in interface IntegrationManagement