public final class SdkThreadLocalsRegistry extends Object
|Modifier and Type||Method and Description|
public static <T> ThreadLocal<T> register(ThreadLocal<T> threadLocal)
ThreadLocalobjects in use by the AWS SDK so that their values can be removed via the
To avoid memory leaks and reduce contention this method should only be called when setting static final locations (for example finals in enums or static final fields).
threadLocal- ThreadLocal to register
public static void remove()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.