com.amazonaws
Class SDKGlobalConfiguration
java.lang.Object
com.amazonaws.SDKGlobalConfiguration
public class SDKGlobalConfiguration
- extends Object
SDKGlobalConfiguration is to configure any global settings
SDKGlobalConfiguration
public SDKGlobalConfiguration()
setGlobalTimeOffset
public static void setGlobalTimeOffset(int timeOffset)
- Sets the global time offset. If this value is set then all the subsequent
requests will use this value to generate timestamps. To adjust clock skew
per request use
Request.setTimeOffset(int)
- Parameters:
timeOffset
- the time difference between local client and server
getGlobalTimeOffset
public static int getGlobalTimeOffset()
- Gets the global time offset. See
Request.getTimeOffset()
if global time
offset is not set.
- Returns:
- globalTimeOffset an AtomicInteger that holds the value of time
offset
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.