Package com.yahoo.vespa.model.content
Class ResourceLimits
- java.lang.Object
-
- com.yahoo.vespa.model.content.ResourceLimits
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.vespa.config.content.FleetcontrollerConfig.Producer
,com.yahoo.vespa.config.search.core.ProtonConfig.Producer
public class ResourceLimits extends Object implements com.yahoo.vespa.config.content.FleetcontrollerConfig.Producer, com.yahoo.vespa.config.search.core.ProtonConfig.Producer
Class tracking feed block resource limits used by a component in a content cluster (e.g. cluster controller or content node).- Author:
- geirst
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceLimits.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.vespa.config.content.FleetcontrollerConfig.Builder builder)
void
getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
Optional<Double>
getDiskLimit()
Optional<Double>
getMemoryLimit()
-
-
-
Method Detail
-
getConfig
public void getConfig(com.yahoo.vespa.config.content.FleetcontrollerConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.content.FleetcontrollerConfig.Producer
-
getConfig
public void getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.search.core.ProtonConfig.Producer
-
-