Class S3PutObjectTaggingResponseWithFSO


public class S3PutObjectTaggingResponseWithFSO extends S3PutObjectTaggingResponse
Response for put object tagging request for FSO bucket.
  • Constructor Details

    • S3PutObjectTaggingResponseWithFSO

      public S3PutObjectTaggingResponseWithFSO(@Nonnull org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, @Nonnull org.apache.hadoop.ozone.om.helpers.OmKeyInfo omKeyInfo, @Nonnull long volumeId, @Nonnull long bucketId)
    • S3PutObjectTaggingResponseWithFSO

      public S3PutObjectTaggingResponseWithFSO(@Nonnull org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, @Nonnull org.apache.hadoop.ozone.om.helpers.BucketLayout bucketLayout)
      For when the request is not successful. For a successful request, the other constructor should be used.
  • Method Details

    • addToDBBatch

      protected void addToDBBatch(org.apache.hadoop.ozone.om.OMMetadataManager omMetadataManager, org.apache.hadoop.hdds.utils.db.BatchOperation batchOperation) throws IOException
      Description copied from class: OMClientResponse
      Implement logic to add the response to batch. This function should be called from checkAndUpdateDB only.
      Overrides:
      addToDBBatch in class S3PutObjectTaggingResponse
      Throws:
      IOException
    • getBucketLayout

      public org.apache.hadoop.ozone.om.helpers.BucketLayout getBucketLayout()
      Overrides:
      getBucketLayout in class OmKeyResponse