Class RequestExecutionMeasurements

java.lang.Object
com.sap.cloud.sdk.s4hana.connectivity.RequestExecutionMeasurements

@Deprecated public class RequestExecutionMeasurements extends Object
Deprecated.
This module will be discontinued, along with its classes and methods.
Collection of measurements for an S/4HANA request.
  • Constructor Details

    • RequestExecutionMeasurements

      public RequestExecutionMeasurements()
      Deprecated.
  • Method Details

    • formatDuration

      @Nonnull public static String formatDuration(@Nullable Duration duration)
      Deprecated.
      For internal use only.
      Parameters:
      duration - The Duration to be formatted.
      Returns:
      The formatted Duration.
    • addBuildRequestDuration

      public void addBuildRequestDuration(@Nonnull Duration duration)
      Deprecated.
      Increase a build request duration by a given value.
      Parameters:
      duration - The build request duration.
    • addExecuteRequestDuration

      public void addExecuteRequestDuration(@Nonnull Duration duration)
      Deprecated.
      Increase a request execution duration by a given value.
      Parameters:
      duration - The execute request duration.
    • addParseResponseDuration

      public void addParseResponseDuration(@Nonnull Duration duration)
      Deprecated.
      Increase a parse response duration by a given value.
      Parameters:
      duration - The parse response duration.
    • resetMeasurements

      public void resetMeasurements()
      Deprecated.
      Remove all current measurements for a request.
    • getMeasurementsString

      @Nonnull public String getMeasurementsString()
      Deprecated.
      Get all request measurements serialized as a String.
      Returns:
      The request measurements.
    • getBeginTotal

      @Nullable public Long getBeginTotal()
      Deprecated.
    • getEndTotal

      @Nullable public Long getEndTotal()
      Deprecated.
    • getBuildRequestDuration

      @Nullable public Duration getBuildRequestDuration()
      Deprecated.
    • getExecuteRequestDuration

      @Nullable public Duration getExecuteRequestDuration()
      Deprecated.
    • getParseResponseDuration

      @Nullable public Duration getParseResponseDuration()
      Deprecated.
    • setBeginTotal

      public void setBeginTotal(@Nullable Long beginTotal)
      Deprecated.
    • setEndTotal

      public void setEndTotal(@Nullable Long endTotal)
      Deprecated.