@IntegrationManagedResource public class NullChannel extends java.lang.Object implements org.springframework.messaging.PollableChannel, MessageChannelMetrics, ConfigurableMetricsAware<AbstractMessageChannelMetrics>, org.springframework.beans.factory.BeanNameAware, NamedComponent, IntegrationPattern
IntegrationManagement.ManagementOverridesMETER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME| Constructor and Description |
|---|
NullChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
configureMetrics(AbstractMessageChannelMetrics metrics) |
void |
destroy() |
java.lang.String |
getBeanName() |
java.lang.String |
getComponentName() |
java.lang.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.
|
org.springframework.messaging.Message<?> |
receive() |
org.springframework.messaging.Message<?> |
receive(long timeout) |
void |
registerMetricsCaptor(MetricsCaptor registry)
Inject a
MetricsCaptor |
void |
reset()
Deprecated.
in favor of Micrometer metrics.
|
boolean |
send(org.springframework.messaging.Message<?> message) |
boolean |
send(org.springframework.messaging.Message<?> message,
long timeout) |
void |
setBeanName(java.lang.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.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsendCount, sendErrorCountpublic void setBeanName(java.lang.String beanName)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic boolean isLoggingEnabled()
isLoggingEnabled in interface IntegrationManagementpublic void setLoggingEnabled(boolean loggingEnabled)
setLoggingEnabled in interface IntegrationManagement@Nullable public java.lang.String getBeanName()
getBeanName in interface NamedComponent@Nullable public java.lang.String getComponentName()
getComponentName in interface NamedComponentpublic java.lang.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(org.springframework.messaging.Message<?> message,
long timeout)
send in interface org.springframework.messaging.MessageChannelpublic boolean send(org.springframework.messaging.Message<?> message)
send in interface org.springframework.messaging.MessageChannelpublic org.springframework.messaging.Message<?> receive()
receive in interface org.springframework.messaging.PollableChannelpublic org.springframework.messaging.Message<?> receive(long timeout)
receive in interface org.springframework.messaging.PollableChannelpublic java.lang.String toString()
toString in class java.lang.Objectpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in interface IntegrationManagement