Package com.linkedin.venice.meta
Class SystemStoreAttributesImpl
java.lang.Object
com.linkedin.venice.meta.SystemStoreAttributesImpl
- All Implemented Interfaces:
DataModelBackedStructure<SystemStoreProperties>
,SystemStoreAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the backed data model.boolean
int
int
long
int
hashCode()
void
setCurrentVersion
(int currentVersion) void
setLargestUsedVersionNumber
(int largestUsedVersionNumber) void
setLatestVersionPromoteToCurrentTimestamp
(long timestamp) void
setVersions
(List<Version> versions)
-
Constructor Details
-
SystemStoreAttributesImpl
public SystemStoreAttributesImpl()
-
-
Method Details
-
dataModel
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<SystemStoreProperties>
- Returns:
-
equals
-
hashCode
public int hashCode() -
getLargestUsedVersionNumber
public int getLargestUsedVersionNumber()- Specified by:
getLargestUsedVersionNumber
in interfaceSystemStoreAttributes
-
setLargestUsedVersionNumber
public void setLargestUsedVersionNumber(int largestUsedVersionNumber) - Specified by:
setLargestUsedVersionNumber
in interfaceSystemStoreAttributes
-
getCurrentVersion
public int getCurrentVersion()- Specified by:
getCurrentVersion
in interfaceSystemStoreAttributes
-
setCurrentVersion
public void setCurrentVersion(int currentVersion) - Specified by:
setCurrentVersion
in interfaceSystemStoreAttributes
-
getLatestVersionPromoteToCurrentTimestamp
public long getLatestVersionPromoteToCurrentTimestamp()- Specified by:
getLatestVersionPromoteToCurrentTimestamp
in interfaceSystemStoreAttributes
-
setLatestVersionPromoteToCurrentTimestamp
public void setLatestVersionPromoteToCurrentTimestamp(long timestamp) - Specified by:
setLatestVersionPromoteToCurrentTimestamp
in interfaceSystemStoreAttributes
-
getVersions
- Specified by:
getVersions
in interfaceSystemStoreAttributes
-
setVersions
- Specified by:
setVersions
in interfaceSystemStoreAttributes
-
clone
- Specified by:
clone
in interfaceSystemStoreAttributes
- Overrides:
clone
in classObject
-