Package com.linkedin.venice.meta
Class RoutersClusterConfig
- java.lang.Object
-
- com.linkedin.venice.meta.RoutersClusterConfig
-
public class RoutersClusterConfig extends java.lang.Object
Cluster level metadata for all routers.
-
-
Constructor Summary
Constructors Constructor Description RoutersClusterConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RoutersClusterConfig
cloneRoutesClusterConfig()
boolean
equals(java.lang.Object o)
int
getExpectedRouterCount()
int
hashCode()
boolean
isMaxCapacityProtectionEnabled()
boolean
isThrottlingEnabled()
void
setExpectedRouterCount(int expectedRouterCount)
void
setMaxCapacityProtectionEnabled(boolean maxCapacityProtectionEnabled)
void
setThrottlingEnabled(boolean throttlingEnabled)
-
-
-
Method Detail
-
getExpectedRouterCount
public int getExpectedRouterCount()
-
setExpectedRouterCount
public void setExpectedRouterCount(int expectedRouterCount)
-
isThrottlingEnabled
public boolean isThrottlingEnabled()
-
setThrottlingEnabled
public void setThrottlingEnabled(boolean throttlingEnabled)
-
isMaxCapacityProtectionEnabled
public boolean isMaxCapacityProtectionEnabled()
-
setMaxCapacityProtectionEnabled
public void setMaxCapacityProtectionEnabled(boolean maxCapacityProtectionEnabled)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
cloneRoutesClusterConfig
public RoutersClusterConfig cloneRoutesClusterConfig()
-
-