Package com.linkedin.venice.meta
Class DegradedDcInfo
java.lang.Object
com.linkedin.venice.meta.DegradedDcInfo
Represents metadata about a datacenter that has been marked as degraded.
Stored in a separate ZK node per cluster, not in LiveClusterConfig.
-
Constructor Summary
ConstructorsConstructorDescriptionDegradedDcInfo(long timestamp, int timeoutMinutes, String operatorId) DegradedDcInfo(DegradedDcInfo clone) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintlonginthashCode()voidsetOperatorId(String operatorId) voidsetTimeoutMinutes(int timeoutMinutes) voidsetTimestamp(long timestamp) toString()
-
Constructor Details
-
DegradedDcInfo
public DegradedDcInfo() -
DegradedDcInfo
-
DegradedDcInfo
-
-
Method Details
-
getTimestamp
public long getTimestamp() -
setTimestamp
public void setTimestamp(long timestamp) -
getTimeoutMinutes
public int getTimeoutMinutes() -
setTimeoutMinutes
public void setTimeoutMinutes(int timeoutMinutes) -
getOperatorId
-
setOperatorId
-
equals
-
hashCode
public int hashCode() -
toString
-