@Immutable public final class DefaultStreamingConfig extends Object implements StreamingConfig
StreamingConfig.StreamingConfigValueCONFIG_PATH| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Duration |
getSessionCounterScrapeInterval()
Returns the session counter update interval.
|
WebsocketConfig |
getWebsocketConfig()
Returns the websocket config for streaming.
|
int |
hashCode() |
static StreamingConfig |
of(com.typesafe.config.Config config)
Returns an instance of
DefaultStreamingConfig based on the settings of the specified Config. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitrenderpublic static StreamingConfig of(com.typesafe.config.Config config)
DefaultStreamingConfig based on the settings of the specified Config.config - is supposed to provide the settings of the web socket config at "streaming".org.eclipse.ditto.services.utils.config.DittoConfigError - if config is invalid.public Duration getSessionCounterScrapeInterval()
StreamingConfiggetSessionCounterScrapeInterval in interface StreamingConfigpublic WebsocketConfig getWebsocketConfig()
StreamingConfiggetWebsocketConfig in interface StreamingConfigCopyright © 2017–2019 Eclipse Foundation. All rights reserved.