public interface MessageAdapterMBean
MessageAdapter.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
default String |
getAggregationPeriodInfoStr()
Returns the current effective aggregation period info as JSON.
|
default String |
getDefaultAggregationPeriod()
Returns the default aggregation period for server-side adapters (AgentAdapter).
|
default String |
getMaxAggregationPeriod()
Returns the maximum aggregation period bound.
|
default String |
getMinAggregationPeriod()
Returns the minimum aggregation period bound.
|
default String |
getRequestedAggregationPeriod()
Returns the client-requested aggregation period string.
|
boolean |
isAlive() |
default void |
setDefaultAggregationPeriod(String defaultAggregationPeriod)
Sets the default aggregation period applied when client doesn't specify one.
|
default void |
setMaxAggregationPeriod(String maxAggregationPeriod)
Sets the maximum bound for aggregation period validation.
|
default void |
setMinAggregationPeriod(String minAggregationPeriod)
Sets the minimum bound for aggregation period validation.
|
default void |
setRequestedAggregationPeriod(String requestedAggregationPeriod)
Sets the requested aggregation period to send to the server.
|
boolean isAlive()
void close()
default String getAggregationPeriodInfoStr()
{"min":1.5,"max":2.0} (seconds with decimals).default String getRequestedAggregationPeriod()
null if not set. Applicable for client-side adapters (DistributorAdapter).default void setRequestedAggregationPeriod(String requestedAggregationPeriod)
requestedAggregationPeriod - aggregation period string (e.g. "1s"), or "undefined"/empty to resetdefault String getDefaultAggregationPeriod()
default void setDefaultAggregationPeriod(String defaultAggregationPeriod)
default String getMinAggregationPeriod()
default void setMinAggregationPeriod(String minAggregationPeriod)
default String getMaxAggregationPeriod()
default void setMaxAggregationPeriod(String maxAggregationPeriod)
Copyright © 2002–2026 Devexperts LLC. All rights reserved.