Class SdkClientTime

java.lang.Object
software.amazon.awssdk.core.internal.http.SdkClientTime

public final class SdkClientTime extends Object
Used for clock skew adjustment between the client JVM where the SDK is run, and the server side. This class mirrors SdkGlobalTime but it's local to the current client and only accessed internally by HttpClientDependencies.
  • Constructor Details

    • SdkClientTime

      public SdkClientTime()
  • Method Details

    • getTimeOffset

      public int getTimeOffset()
      Gets the latest recorded time offset.
    • setTimeOffset

      public void setTimeOffset(int timeOffset)
      Sets the latest recorded time offset.