Package com.yahoo.vespa.model.content
Class Redundancy
- java.lang.Object
-
- com.yahoo.vespa.model.content.Redundancy
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.vespa.config.content.StorDistributionConfig.Producer
,com.yahoo.vespa.config.search.core.ProtonConfig.Producer
public class Redundancy extends java.lang.Object implements com.yahoo.vespa.config.content.StorDistributionConfig.Producer, com.yahoo.vespa.config.search.core.ProtonConfig.Producer
Configuration of the redundancy of a content cluster.- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description Redundancy(int initialRedundancy, int finalRedundancy, int readyCopies, int groups, int totalNodes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
effectiveFinalRedundancy()
int
effectiveInitialRedundancy()
int
effectiveReadyCopies()
int
finalRedundancy()
void
getConfig(com.yahoo.vespa.config.content.StorDistributionConfig.Builder builder)
void
getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
int
groups()
boolean
isEffectivelyGloballyDistributed()
int
readyCopies()
int
totalNodes()
-
-
-
Method Detail
-
finalRedundancy
public int finalRedundancy()
-
readyCopies
public int readyCopies()
-
groups
public int groups()
-
totalNodes
public int totalNodes()
-
effectiveInitialRedundancy
public int effectiveInitialRedundancy()
-
effectiveFinalRedundancy
public int effectiveFinalRedundancy()
-
effectiveReadyCopies
public int effectiveReadyCopies()
-
isEffectivelyGloballyDistributed
public boolean isEffectivelyGloballyDistributed()
-
getConfig
public void getConfig(com.yahoo.vespa.config.content.StorDistributionConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.vespa.config.content.StorDistributionConfig.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
-
-