@IntegrationManagedResource public class NullChannel extends Object implements PollableChannel, MessageChannelMetrics, ConfigurableMetricsAware<AbstractMessageChannelMetrics>, BeanNameAware, NamedComponent
INDEFINITE_TIMEOUT| Constructor and Description |
|---|
NullChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureMetrics(AbstractMessageChannelMetrics metrics) |
void |
enableCounts(boolean countsEnabled) |
void |
enableStats(boolean statsEnabled) |
String |
getComponentName() |
String |
getComponentType() |
Statistics |
getErrorRate() |
double |
getMaxSendDuration() |
double |
getMeanErrorRate() |
double |
getMeanErrorRatio() |
double |
getMeanSendDuration() |
double |
getMeanSendRate() |
double |
getMinSendDuration() |
int |
getSendCount() |
long |
getSendCountLong() |
Statistics |
getSendDuration() |
int |
getSendErrorCount() |
long |
getSendErrorCountLong() |
Statistics |
getSendRate() |
double |
getStandardDeviationSendDuration() |
double |
getTimeSinceLastSend() |
boolean |
isCountsEnabled() |
boolean |
isLoggingEnabled() |
boolean |
isStatsEnabled() |
Message<?> |
receive() |
Message<?> |
receive(long timeout) |
void |
reset() |
boolean |
send(Message<?> message) |
boolean |
send(Message<?> message,
long timeout) |
void |
setBeanName(String beanName) |
void |
setLoggingEnabled(boolean loggingEnabled) |
public void setBeanName(String beanName)
setBeanName in interface BeanNameAwarepublic boolean isLoggingEnabled()
isLoggingEnabled in interface IntegrationManagementpublic void setLoggingEnabled(boolean loggingEnabled)
setLoggingEnabled in interface IntegrationManagementpublic String getComponentName()
getComponentName in interface NamedComponentpublic String getComponentType()
getComponentType in interface NamedComponentpublic void configureMetrics(AbstractMessageChannelMetrics metrics)
configureMetrics in interface ConfigurableMetricsAware<AbstractMessageChannelMetrics>public void reset()
reset in interface IntegrationManagementpublic void enableCounts(boolean countsEnabled)
enableCounts in interface IntegrationManagementpublic boolean isCountsEnabled()
isCountsEnabled in interface IntegrationManagementpublic void enableStats(boolean statsEnabled)
enableStats 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 boolean send(Message<?> message)
send in interface MessageChannelpublic boolean send(Message<?> message, long timeout)
send in interface MessageChannelpublic Message<?> receive()
receive in interface PollableChannelpublic Message<?> receive(long timeout)
receive in interface PollableChannel