Package com.linkedin.venice.meta
Class DataRecoveryVersionConfigImpl
java.lang.Object
com.linkedin.venice.meta.DataRecoveryVersionConfigImpl
- All Implemented Interfaces:
DataModelBackedStructure<DataRecoveryConfig>
,DataRecoveryVersionConfig
-
Constructor Summary
ConstructorDescriptionDataRecoveryVersionConfigImpl
(String dataRecoverySourceFabric, boolean isDataRecoveryComplete, int dataRecoverySourceVersionNumber) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the backed data model.boolean
int
int
hashCode()
boolean
void
setDataRecoveryComplete
(boolean dataRecoveryComplete) void
setDataRecoverySourceFabric
(String dataRecoverySourceFabric) void
setDataRecoverySourceVersionNumber
(int dataRecoverySourceVersionNumber)
-
Constructor Details
-
DataRecoveryVersionConfigImpl
public DataRecoveryVersionConfigImpl(String dataRecoverySourceFabric, boolean isDataRecoveryComplete, int dataRecoverySourceVersionNumber)
-
-
Method Details
-
dataModel
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<DataRecoveryConfig>
- Returns:
-
getDataRecoverySourceFabric
- Specified by:
getDataRecoverySourceFabric
in interfaceDataRecoveryVersionConfig
-
setDataRecoverySourceFabric
- 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
-
hashCode
public int hashCode() -
clone
- Specified by:
clone
in interfaceDataRecoveryVersionConfig
- Overrides:
clone
in classObject
-