Package com.linkedin.venice.pushmonitor
Class StatusSnapshot
- java.lang.Object
-
- com.linkedin.venice.pushmonitor.StatusSnapshot
-
public class StatusSnapshot extends java.lang.Object
The snapshot of status change.
-
-
Constructor Summary
Constructors Constructor Description StatusSnapshot(ExecutionStatus status, java.lang.String time)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static long
getIncrementalPushJobTimeInMs(java.lang.String incPushVersionId)
Incremental push job version id follows such pattern: timestampInMs_hadoopClusterName_jobExecutionIdjava.lang.String
getIncrementalPushVersion()
ExecutionStatus
getStatus()
java.lang.String
getTime()
int
hashCode()
void
setIncrementalPushVersion(java.lang.String incrementalPushVersion)
java.lang.String
toString()
-
-
-
Constructor Detail
-
StatusSnapshot
public StatusSnapshot(ExecutionStatus status, java.lang.String time)
-
-
Method Detail
-
getStatus
public ExecutionStatus getStatus()
-
getTime
public java.lang.String getTime()
-
getIncrementalPushVersion
public java.lang.String getIncrementalPushVersion()
-
setIncrementalPushVersion
public void setIncrementalPushVersion(java.lang.String incrementalPushVersion)
-
getIncrementalPushJobTimeInMs
public static long getIncrementalPushJobTimeInMs(java.lang.String incPushVersionId)
Incremental push job version id follows such pattern: timestampInMs_hadoopClusterName_jobExecutionId
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-