Search in sources :

Example 1 with PersistenceEngine

use of com.yahoo.vespa.model.content.engines.PersistenceEngine in project vespa by vespa-engine.

the class StorageNode method getConfig.

@Override
public void getConfig(StorServerConfig.Builder builder) {
    super.getConfig(builder);
    builder.node_capacity(getCapacity());
    for (AbstractConfigProducer producer : getChildren().values()) {
        ((PersistenceEngine) producer).getConfig(builder);
    }
}
Also used : AbstractConfigProducer(com.yahoo.config.model.producer.AbstractConfigProducer) PersistenceEngine(com.yahoo.vespa.model.content.engines.PersistenceEngine)

Aggregations

AbstractConfigProducer (com.yahoo.config.model.producer.AbstractConfigProducer)1 PersistenceEngine (com.yahoo.vespa.model.content.engines.PersistenceEngine)1