Class SdkClientTime
java.lang.Object
software.amazon.awssdk.core.internal.http.SdkClientTime
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the latest recorded time offset.void
setTimeOffset
(int timeOffset) Sets the latest recorded time offset.
-
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.
-