Package com.linkedin.venice.pushmonitor
Class ReadOnlyPartitionStatus
- java.lang.Object
-
- com.linkedin.venice.pushmonitor.PartitionStatus
-
- com.linkedin.venice.pushmonitor.ReadOnlyPartitionStatus
-
- All Implemented Interfaces:
java.lang.Comparable<PartitionStatus>
public class ReadOnlyPartitionStatus extends PartitionStatus
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyPartitionStatus(int partitionId, java.util.Collection<ReplicaStatus> replicaStatuses)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadOnlyPartitionStatus
fromPartitionStatus(PartitionStatus partitionStatus)
void
updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus)
void
updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus, boolean enableStatusHistory)
void
updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus, java.lang.String incrementalPushVersion, long progress)
-
Methods inherited from class com.linkedin.venice.pushmonitor.PartitionStatus
batchUpdateReplicaIncPushStatus, compareTo, equals, getPartitionId, getReplicaHistoricStatusList, getReplicaStatus, getReplicaStatuses, hasFatalDataValidationError, hashCode, setReplicaStatuses, toString
-
-
-
-
Constructor Detail
-
ReadOnlyPartitionStatus
public ReadOnlyPartitionStatus(int partitionId, java.util.Collection<ReplicaStatus> replicaStatuses)
-
-
Method Detail
-
updateReplicaStatus
public void updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus)
- Overrides:
updateReplicaStatus
in classPartitionStatus
-
updateReplicaStatus
public void updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus, boolean enableStatusHistory)
- Overrides:
updateReplicaStatus
in classPartitionStatus
-
updateReplicaStatus
public void updateReplicaStatus(java.lang.String instanceId, ExecutionStatus newStatus, java.lang.String incrementalPushVersion, long progress)
- Overrides:
updateReplicaStatus
in classPartitionStatus
-
fromPartitionStatus
public static ReadOnlyPartitionStatus fromPartitionStatus(PartitionStatus partitionStatus)
-
-