@IntegrationManagedResource public class NullChannel extends Object implements PollableChannel, MessageChannelMetrics, ConfigurableMetricsAware<AbstractMessageChannelMetrics>, BeanNameAware, NamedComponent, IntegrationPattern
IntegrationManagement.ManagementOverridesINDEFINITE_TIMEOUTMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
NullChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureMetrics(AbstractMessageChannelMetrics metrics) |
void |
destroy() |
String |
getBeanName() |
String |
getComponentName() |
String |
getComponentType() |
Statistics |
getErrorRate()
Deprecated.
in favor of Micrometer metrics.
|
IntegrationPatternType |
getIntegrationPatternType()
Return a pattern type this component implements.
|
double |
getMaxSendDuration()
Deprecated.
in favor of Micrometer metrics.
|
double |
getMeanErrorRate()
Deprecated.
in favor of Micrometer metrics.
|
double |
getMeanErrorRatio()
Deprecated.
in favor of Micrometer metrics.
|
double |
getMeanSendDuration()
Deprecated.
in favor of Micrometer metrics.
|
double |
getMeanSendRate()
Deprecated.
in favor of Micrometer metrics.
|
double |
getMinSendDuration()
Deprecated.
in favor of Micrometer metrics.
|
IntegrationManagement.ManagementOverrides |
getOverrides()
Return the overrides.
|
int |
getSendCount()
Deprecated.
in favor of Micrometer metrics.
|
long |
getSendCountLong()
Deprecated.
in favor of Micrometer metrics.
|
Statistics |
getSendDuration()
Deprecated.
in favor of Micrometer metrics.
|
int |
getSendErrorCount()
Deprecated.
in favor of Micrometer metrics.
|
long |
getSendErrorCountLong()
Deprecated.
in favor of Micrometer metrics.
|
Statistics |
getSendRate()
Deprecated.
in favor of Micrometer metrics.
|
double |
getStandardDeviationSendDuration()
Deprecated.
in favor of Micrometer metrics.
|
double |
getTimeSinceLastSend()
Deprecated.
in favor of Micrometer metrics.
|
boolean |
isCountsEnabled()
Deprecated.
in favor of Micrometer metrics.
|
boolean |
isLoggingEnabled() |
boolean |
isStatsEnabled()
Deprecated.
in favor of Micrometer metrics.
|
Message<?> |
receive() |
Message<?> |
receive(long timeout) |
void |
registerMetricsCaptor(MetricsCaptor registry)
Inject a
MetricsCaptor |
void |
reset()
Deprecated.
in favor of Micrometer metrics.
|
boolean |
send(Message<?> message) |
boolean |
send(Message<?> message,
long timeout) |
void |
setBeanName(String beanName) |
void |
setCountsEnabled(boolean countsEnabled)
Deprecated.
in favor of Micrometer metrics.
|
void |
setLoggingEnabled(boolean loggingEnabled) |
void |
setStatsEnabled(boolean statsEnabled)
Deprecated.
in favor of Micrometer metrics.
|
String |
toString() |
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 IntegrationPatternType getIntegrationPatternType()
IntegrationPatterngetIntegrationPatternType in interface IntegrationPatternIntegrationPatternType this component implements.public void registerMetricsCaptor(MetricsCaptor registry)
IntegrationManagementMetricsCaptorregisterMetricsCaptor in interface IntegrationManagementregistry - the captor.public void configureMetrics(AbstractMessageChannelMetrics metrics)
configureMetrics in interface ConfigurableMetricsAware<AbstractMessageChannelMetrics>@Deprecated public void reset()
reset in interface IntegrationManagement@Deprecated public void setCountsEnabled(boolean countsEnabled)
setCountsEnabled in interface IntegrationManagementcountsEnabled - the countsEnabled@Deprecated public boolean isCountsEnabled()
isCountsEnabled in interface IntegrationManagement@Deprecated public void setStatsEnabled(boolean statsEnabled)
setStatsEnabled in interface IntegrationStatsManagementstatsEnabled - the statsEnabled@Deprecated public boolean isStatsEnabled()
isStatsEnabled in interface IntegrationStatsManagement@Deprecated public int getSendCount()
getSendCount in interface MessageChannelMetrics@Deprecated public long getSendCountLong()
getSendCountLong in interface MessageChannelMetrics@Deprecated public int getSendErrorCount()
getSendErrorCount in interface MessageChannelMetrics@Deprecated public long getSendErrorCountLong()
getSendErrorCountLong in interface MessageChannelMetrics@Deprecated public double getTimeSinceLastSend()
getTimeSinceLastSend in interface MessageChannelMetrics@Deprecated public double getMeanSendRate()
getMeanSendRate in interface MessageChannelMetrics@Deprecated public double getMeanErrorRate()
getMeanErrorRate in interface MessageChannelMetrics@Deprecated public double getMeanErrorRatio()
getMeanErrorRatio in interface MessageChannelMetrics@Deprecated public double getMeanSendDuration()
getMeanSendDuration in interface MessageChannelMetrics@Deprecated public double getMinSendDuration()
getMinSendDuration in interface MessageChannelMetrics@Deprecated public double getMaxSendDuration()
getMaxSendDuration in interface MessageChannelMetrics@Deprecated public double getStandardDeviationSendDuration()
getStandardDeviationSendDuration in interface MessageChannelMetrics@Deprecated public Statistics getSendDuration()
getSendDuration in interface MessageChannelMetrics@Deprecated public Statistics getSendRate()
getSendRate in interface MessageChannelMetrics@Deprecated public 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