@IntegrationManagedResource public class NullChannel extends Object implements PollableChannel, MessageChannelMetrics, ConfigurableMetricsAware<AbstractMessageChannelMetrics>, BeanNameAware, NamedComponent, IntegrationPattern
IntegrationManagement.ManagementOverrides
INDEFINITE_TIMEOUT
METER_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, wait
sendCount, sendErrorCount
public void setBeanName(String beanName)
setBeanName
in interface BeanNameAware
public boolean isLoggingEnabled()
isLoggingEnabled
in interface IntegrationManagement
public void setLoggingEnabled(boolean loggingEnabled)
setLoggingEnabled
in interface IntegrationManagement
@Nullable public String getBeanName()
getBeanName
in interface NamedComponent
@Nullable public String getComponentName()
getComponentName
in interface NamedComponent
public String getComponentType()
getComponentType
in interface NamedComponent
public IntegrationPatternType getIntegrationPatternType()
IntegrationPattern
getIntegrationPatternType
in interface IntegrationPattern
IntegrationPatternType
this component implements.public void registerMetricsCaptor(MetricsCaptor registry)
IntegrationManagement
MetricsCaptor
registerMetricsCaptor
in interface IntegrationManagement
registry
- 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 IntegrationManagement
countsEnabled
- the countsEnabled@Deprecated public boolean isCountsEnabled()
isCountsEnabled
in interface IntegrationManagement
@Deprecated public void setStatsEnabled(boolean statsEnabled)
setStatsEnabled
in interface IntegrationStatsManagement
statsEnabled
- 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 MessageChannelMetrics
public IntegrationManagement.ManagementOverrides getOverrides()
IntegrationManagement
getOverrides
in interface IntegrationManagement
public boolean send(Message<?> message, long timeout)
send
in interface MessageChannel
public boolean send(Message<?> message)
send
in interface MessageChannel
public Message<?> receive()
receive
in interface PollableChannel
public Message<?> receive(long timeout)
receive
in interface PollableChannel
public void destroy()
destroy
in interface DisposableBean
destroy
in interface IntegrationManagement