Class BlobTransferStatusTrackingManager
java.lang.Object
com.linkedin.davinci.blobtransfer.BlobTransferStatusTrackingManager
BlobTransferStatusTrackingManager is responsible for tracking and managing the status of blob transfers.
It provides a centralized way to track ongoing transfers, request cancellations, and coordinate
the shutdown of active channels and peer chains.
Cancellation workflow:
- Set status to TRANSFER_CANCEL_REQUESTED to prevent new peer attempts in the chain
- Close any active network channel to abort ongoing data transfer
- The entire chain of peer attempts will terminate early due to the cancellation status
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancelTransfer(String replicaId) voidclearTransferStatusEnum(String replicaId) getTransferStatus(String replicaId) voidinitialTransfer(String replicaId) booleanisBlobTransferCancelRequested(String replicaId) booleanisBlobTransferCancelRequestSentBefore(String replicaId) booleanisBlobTransferInProgress(String replicaId) booleanisTransferInFinalState(String replicaId) voidmarkTransferCancelled(String replicaId) voidmarkTransferCompleted(String replicaId) voidstartedTransfer(String replicaId)
-
Constructor Details
-
BlobTransferStatusTrackingManager
-
-
Method Details
-
initialTransfer
-
startedTransfer
-
getTransferStatus
-
clearTransferStatusEnum
-
isBlobTransferInProgress
-
isBlobTransferCancelRequested
-
isBlobTransferCancelRequestSentBefore
-
markTransferCancelled
-
markTransferCompleted
-
isTransferInFinalState
-
cancelTransfer
-