Package com.linkedin.venice.meta
Class RegionPushDetails
- java.lang.Object
-
- com.linkedin.venice.meta.RegionPushDetails
-
public class RegionPushDetails extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RegionPushDetails()
RegionPushDetails(java.lang.String regionName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPartitionDetails(OfflinePushStatus status)
void
addVersion(int version)
java.lang.Integer
getCurrentVersion()
java.lang.String
getDataAge()
java.lang.String
getErrorMessage()
java.lang.String
getLatestFailedPush()
java.util.List<PartitionDetail>
getPartitionDetails()
java.lang.String
getPushEndTimestamp()
java.lang.String
getPushStartTimestamp()
java.lang.String
getRegionName()
java.util.ArrayList<java.lang.Integer>
getVersions()
void
setCurrentVersion(java.lang.Integer currentVersion)
void
setDataAge(java.lang.String dataAge)
void
setErrorMessage(java.lang.String errorMessage)
void
setLatestFailedPush(java.lang.String latestFailedPush)
void
setPartitionDetails(java.util.List<PartitionDetail> partitionDetails)
void
setPushEndTimestamp(java.lang.String pushEndLocalDateTime)
void
setPushStartTimestamp(java.lang.String pushStartLocalDateTime)
void
setRegionName(java.lang.String regionName)
void
setVersions(java.util.ArrayList<java.lang.Integer> versions)
java.lang.String
toString()
void
updateDataAge()
-
-
-
Method Detail
-
getPartitionDetails
public java.util.List<PartitionDetail> getPartitionDetails()
-
setPartitionDetails
public void setPartitionDetails(java.util.List<PartitionDetail> partitionDetails)
-
getVersions
public java.util.ArrayList<java.lang.Integer> getVersions()
-
setVersions
public void setVersions(java.util.ArrayList<java.lang.Integer> versions)
-
getCurrentVersion
public java.lang.Integer getCurrentVersion()
-
setCurrentVersion
public void setCurrentVersion(java.lang.Integer currentVersion)
-
getRegionName
public java.lang.String getRegionName()
-
setRegionName
public void setRegionName(java.lang.String regionName)
-
getPushStartTimestamp
public java.lang.String getPushStartTimestamp()
-
setPushStartTimestamp
public void setPushStartTimestamp(java.lang.String pushStartLocalDateTime)
-
getPushEndTimestamp
public java.lang.String getPushEndTimestamp()
-
setPushEndTimestamp
public void setPushEndTimestamp(java.lang.String pushEndLocalDateTime)
-
updateDataAge
public void updateDataAge()
-
getDataAge
public java.lang.String getDataAge()
-
setDataAge
public void setDataAge(java.lang.String dataAge)
-
getLatestFailedPush
public java.lang.String getLatestFailedPush()
-
setLatestFailedPush
public void setLatestFailedPush(java.lang.String latestFailedPush)
-
getErrorMessage
public java.lang.String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
addVersion
public void addVersion(int version)
-
addPartitionDetails
public void addPartitionDetails(OfflinePushStatus status)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-