Enum Class BlobTransferUtils.BlobTransferStatus

java.lang.Object
java.lang.Enum<BlobTransferUtils.BlobTransferStatus>
com.linkedin.davinci.blobtransfer.BlobTransferUtils.BlobTransferStatus
All Implemented Interfaces:
Serializable, Comparable<BlobTransferUtils.BlobTransferStatus>, Constable
Enclosing class:
BlobTransferUtils

public static enum BlobTransferUtils.BlobTransferStatus extends Enum<BlobTransferUtils.BlobTransferStatus>
  • Enum Constant Details

    • TRANSFER_NOT_STARTED

      public static final BlobTransferUtils.BlobTransferStatus TRANSFER_NOT_STARTED
      Transfer is not started yet.
    • TRANSFER_STARTED

      public static final BlobTransferUtils.BlobTransferStatus TRANSFER_STARTED
      Transfer has been initiated and is in progress. This is the initial state when blob transfer starts.
    • TRANSFER_CANCEL_REQUESTED

      public static final BlobTransferUtils.BlobTransferStatus TRANSFER_CANCEL_REQUESTED
      Cancellation has been requested. - Cancellation flag set - Active channel closed - Waiting for transfer future to complete with cancellation exception
    • TRANSFER_CANCELLED

      public static final BlobTransferUtils.BlobTransferStatus TRANSFER_CANCELLED
      Transfer was successfully cancelled. - Transfer future completed with VeniceBlobTransferCancelledException - Cancellation is confirmed complete
    • TRANSFER_COMPLETED

      public static final BlobTransferUtils.BlobTransferStatus TRANSFER_COMPLETED
      Transfer completed successfully without cancellation. - Transfer future completed normally - No cancellation was requested
  • Method Details

    • values

      public static BlobTransferUtils.BlobTransferStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BlobTransferUtils.BlobTransferStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null