Package com.linkedin.venice.pushmonitor
Class ReadOnlyPartitionStatus
java.lang.Object
com.linkedin.venice.pushmonitor.PartitionStatus
com.linkedin.venice.pushmonitor.ReadOnlyPartitionStatus
- All Implemented Interfaces:
Comparable<PartitionStatus>
-
Constructor Summary
ConstructorDescriptionReadOnlyPartitionStatus
(int partitionId, Collection<ReplicaStatus> replicaStatuses) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOnlyPartitionStatus
fromPartitionStatus
(PartitionStatus partitionStatus) void
updateReplicaStatus
(String instanceId, ExecutionStatus newStatus) void
updateReplicaStatus
(String instanceId, ExecutionStatus newStatus, boolean enableStatusHistory) void
updateReplicaStatus
(String instanceId, ExecutionStatus newStatus, 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 Details
-
ReadOnlyPartitionStatus
-
-
Method Details
-
updateReplicaStatus
- Overrides:
updateReplicaStatus
in classPartitionStatus
-
updateReplicaStatus
public void updateReplicaStatus(String instanceId, ExecutionStatus newStatus, boolean enableStatusHistory) - Overrides:
updateReplicaStatus
in classPartitionStatus
-
updateReplicaStatus
public void updateReplicaStatus(String instanceId, ExecutionStatus newStatus, String incrementalPushVersion, long progress) - Overrides:
updateReplicaStatus
in classPartitionStatus
-
fromPartitionStatus
-