Class ThreadLocalStorage


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

      Constructors 
      Constructor Description
      ThreadLocalStorage()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      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 Detail

      • ThreadLocalStorage

        public ThreadLocalStorage()
        Deprecated.
    • Method Detail

      • 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.