Class OMFileCreateResponse

Direct Known Subclasses:
OMFileCreateResponseWithFSO

public class OMFileCreateResponse extends OMKeyCreateResponse
Response for crate file request.
  • Constructor Details

    • OMFileCreateResponse

      public OMFileCreateResponse(@Nonnull org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, @Nonnull org.apache.hadoop.ozone.om.helpers.OmKeyInfo omKeyInfo, @Nonnull List<org.apache.hadoop.ozone.om.helpers.OmKeyInfo> parentKeyInfos, long openKeySessionID, @Nonnull org.apache.hadoop.ozone.om.helpers.OmBucketInfo omBucketInfo)
    • OMFileCreateResponse

      public OMFileCreateResponse(@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.