JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws

Class SdkThreadLocals



  • public final class SdkThreadLocals
    extends Object 
    Utility class to manage ThreadLocal storage within the AWS SDK.

    ThreadLocal removal is especially relevant when the AWS SDK is used in an application server that manages a pool of threads across many applications (for example Tomcat or Glassfish). If a ThreadLocal is not cleared on application shutdown and the ThreadLocal value is a class from the application classloader then the application classloader cannot be garbage collected until the ThreadLocal is set again or the thread is disposed of (Glassfish attempts thread renewal on occasion to help with this).

    • Method Detail

      • remove

        public static void remove()
        Removes the current thread's values for all ThreadLocals used by the AWS SDK.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /