Package com.linkedin.venice.meta
Class DataRecoveryVersionConfigImpl
- java.lang.Object
-
- com.linkedin.venice.meta.DataRecoveryVersionConfigImpl
-
- All Implemented Interfaces:
DataModelBackedStructure<DataRecoveryConfig>
,DataRecoveryVersionConfig
public class DataRecoveryVersionConfigImpl extends java.lang.Object implements DataRecoveryVersionConfig
-
-
Constructor Summary
Constructors Constructor Description DataRecoveryVersionConfigImpl(java.lang.String dataRecoverySourceFabric, boolean isDataRecoveryComplete, int dataRecoverySourceVersionNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataRecoveryVersionConfig
clone()
DataRecoveryConfig
dataModel()
Return the backed data model.boolean
equals(java.lang.Object o)
java.lang.String
getDataRecoverySourceFabric()
int
getDataRecoverySourceVersionNumber()
int
hashCode()
boolean
isDataRecoveryComplete()
void
setDataRecoveryComplete(boolean dataRecoveryComplete)
void
setDataRecoverySourceFabric(java.lang.String dataRecoverySourceFabric)
void
setDataRecoverySourceVersionNumber(int dataRecoverySourceVersionNumber)
-
-
-
Method Detail
-
dataModel
public DataRecoveryConfig dataModel()
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<DataRecoveryConfig>
- Returns:
-
getDataRecoverySourceFabric
public java.lang.String getDataRecoverySourceFabric()
- Specified by:
getDataRecoverySourceFabric
in interfaceDataRecoveryVersionConfig
-
setDataRecoverySourceFabric
public void setDataRecoverySourceFabric(java.lang.String dataRecoverySourceFabric)
- Specified by:
setDataRecoverySourceFabric
in interfaceDataRecoveryVersionConfig
-
isDataRecoveryComplete
public boolean isDataRecoveryComplete()
- Specified by:
isDataRecoveryComplete
in interfaceDataRecoveryVersionConfig
-
setDataRecoveryComplete
public void setDataRecoveryComplete(boolean dataRecoveryComplete)
- Specified by:
setDataRecoveryComplete
in interfaceDataRecoveryVersionConfig
-
getDataRecoverySourceVersionNumber
public int getDataRecoverySourceVersionNumber()
- Specified by:
getDataRecoverySourceVersionNumber
in interfaceDataRecoveryVersionConfig
-
setDataRecoverySourceVersionNumber
public void setDataRecoverySourceVersionNumber(int dataRecoverySourceVersionNumber)
- Specified by:
setDataRecoverySourceVersionNumber
in interfaceDataRecoveryVersionConfig
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
clone
public DataRecoveryVersionConfig clone()
- Specified by:
clone
in interfaceDataRecoveryVersionConfig
- Overrides:
clone
in classjava.lang.Object
-
-