Class OMPrepareResponse

java.lang.Object
org.apache.hadoop.ozone.om.response.OMClientResponse
org.apache.hadoop.ozone.om.response.upgrade.OMPrepareResponse

public class OMPrepareResponse extends OMClientResponse
Response for prepare request.
  • Constructor Details

    • OMPrepareResponse

      public OMPrepareResponse(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse, long prepareIndex)
    • OMPrepareResponse

      public OMPrepareResponse(org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos.OMResponse omResponse)
  • 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.
      Specified by:
      addToDBBatch in class OMClientResponse
      Throws:
      IOException