@ThreadSafe public final class ClockSkewAdjuster extends Object
RetryUtils.isClockSkewError(com.ibm.cloud.objectstorage.SdkBaseException) is true) as well as
cases that may or may not be clock skew errors.| Modifier and Type | Class and Description |
|---|---|
static class |
ClockSkewAdjuster.AdjustmentRequest |
static class |
ClockSkewAdjuster.ClockSkewAdjustment |
| Constructor and Description |
|---|
ClockSkewAdjuster() |
| Modifier and Type | Method and Description |
|---|---|
ClockSkewAdjuster.ClockSkewAdjustment |
getAdjustment(ClockSkewAdjuster.AdjustmentRequest adjustmentRequest)
Recommend a
ClockSkewAdjuster.ClockSkewAdjustment, based on the provided ClockSkewAdjuster.AdjustmentRequest. |
Integer |
getEstimatedSkew()
The estimated skew is the difference between the local time at which the client received the response and the Date
header from the service's response.
|
void |
updateEstimatedSkew(ClockSkewAdjuster.AdjustmentRequest adjustmentRequest) |
public Integer getEstimatedSkew()
public void updateEstimatedSkew(ClockSkewAdjuster.AdjustmentRequest adjustmentRequest)
public ClockSkewAdjuster.ClockSkewAdjustment getAdjustment(ClockSkewAdjuster.AdjustmentRequest adjustmentRequest)
ClockSkewAdjuster.ClockSkewAdjustment, based on the provided ClockSkewAdjuster.AdjustmentRequest.Copyright © 2025. All rights reserved.