Package com.linkedin.venice.meta
Class SystemStoreAttributesImpl
- java.lang.Object
-
- com.linkedin.venice.meta.SystemStoreAttributesImpl
-
- All Implemented Interfaces:
DataModelBackedStructure<SystemStoreProperties>
,SystemStoreAttributes
public class SystemStoreAttributesImpl extends java.lang.Object implements SystemStoreAttributes
-
-
Constructor Summary
Constructors Constructor Description SystemStoreAttributesImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemStoreAttributes
clone()
SystemStoreProperties
dataModel()
Return the backed data model.boolean
equals(java.lang.Object o)
int
getCurrentVersion()
int
getLargestUsedVersionNumber()
long
getLatestVersionPromoteToCurrentTimestamp()
java.util.List<Version>
getVersions()
int
hashCode()
void
setCurrentVersion(int currentVersion)
void
setLargestUsedVersionNumber(int largestUsedVersionNumber)
void
setLatestVersionPromoteToCurrentTimestamp(long timestamp)
void
setVersions(java.util.List<Version> versions)
-
-
-
Method Detail
-
dataModel
public SystemStoreProperties dataModel()
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<SystemStoreProperties>
- Returns:
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
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
public java.util.List<Version> getVersions()
- Specified by:
getVersions
in interfaceSystemStoreAttributes
-
setVersions
public void setVersions(java.util.List<Version> versions)
- Specified by:
setVersions
in interfaceSystemStoreAttributes
-
clone
public SystemStoreAttributes clone()
- Specified by:
clone
in interfaceSystemStoreAttributes
- Overrides:
clone
in classjava.lang.Object
-
-