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 TypeMethodDescriptionintGets the latest recorded time offset.voidsetTimeOffset(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.
-