@Immutable public class DefaultMapperLimitsConfig extends Object implements MapperLimitsConfig
MapperLimitsConfig.MapperLimitsConfigValue| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getMaxMappedInboundMessages()
Returns the maximum number of messages which could be invoked by one mapper
defined in source
|
int |
getMaxMappedOutboundMessages()
Returns the maximum number of messages which could be invoked by one mapper
defined in target
|
int |
getMaxSourceMappers()
Returns the maximum number of mapper which could be defined in one source
|
int |
getMaxTargetMappers()
Returns the maximum number of mapper which could be defined in one target
|
int |
hashCode() |
static DefaultMapperLimitsConfig |
of(com.typesafe.config.Config config)
Returns an instance of
DefaultMapperLimitsConfig based on the settings of the specified Config. |
String |
toString() |
public static DefaultMapperLimitsConfig of(com.typesafe.config.Config config)
DefaultMapperLimitsConfig based on the settings of the specified Config.config - is supposed to provide the settings of the mapper-limits mapping config at .org.eclipse.ditto.services.utils.config.DittoConfigError - if config is invalid.public int getMaxSourceMappers()
MapperLimitsConfiggetMaxSourceMappers in interface MapperLimitsConfigpublic int getMaxMappedInboundMessages()
MapperLimitsConfiggetMaxMappedInboundMessages in interface MapperLimitsConfigpublic int getMaxTargetMappers()
MapperLimitsConfiggetMaxTargetMappers in interface MapperLimitsConfigpublic int getMaxMappedOutboundMessages()
MapperLimitsConfiggetMaxMappedOutboundMessages in interface MapperLimitsConfigCopyright © 2017–2019 Eclipse Foundation. All rights reserved.