Class ThreadLocalStorage

java.lang.Object
com.amazonaws.xray.ThreadLocalStorage

@Deprecated
public class ThreadLocalStorage
extends java.lang.Object
Deprecated.
For internal use only.
  • Constructor Summary

    Constructors 
    Constructor Description
    ThreadLocalStorage()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    static boolean any()
    Deprecated.
     
    static void clear()
    Deprecated.
    Clears the current stored entity.
    static @Nullable Entity get()
    Deprecated.
     
    static java.security.SecureRandom getRandom()
    Deprecated.
    static void set​(@Nullable Entity entity)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • get

      public static @Nullable Entity get()
      Deprecated.
    • any

      public static boolean any()
      Deprecated.
    • set

      public static void set​(@Nullable Entity entity)
      Deprecated.
    • clear

      public static void clear()
      Deprecated.
      Clears the current stored entity.
    • getRandom

      @Deprecated public static java.security.SecureRandom getRandom()
      Deprecated.