JavaScript is disabled on your browser.
Skip navigation links
io.netty.util.concurrent

Class FastThreadLocalThread

  • All Implemented Interfaces:
    java.lang.Runnable


    public class FastThreadLocalThread
    extends java.lang.Thread
    A special Thread that provides fast access to FastThreadLocal variables.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void setThreadLocalMap (io.netty.util.internal.InternalThreadLocalMap threadLocalMap)
      Sets the internal data structure that keeps the thread-local variables bound to this thread.
      io.netty.util.internal.InternalThreadLocalMap threadLocalMap ()
      Returns the internal data structure that keeps the thread-local variables bound to this thread.
      boolean willCleanupFastThreadLocals ()
      Returns true if FastThreadLocal.removeAll() will be called once Thread.run() completes.
      static boolean willCleanupFastThreadLocals (java.lang.Thread thread)
      Returns true if FastThreadLocal.removeAll() will be called once Thread.run() completes.
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FastThreadLocalThread

        public FastThreadLocalThread()
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.Runnable target)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.ThreadGroup group,
         java.lang.Runnable target)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.String name)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.ThreadGroup group,
         java.lang.String name)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.Runnable target,
         java.lang.String name)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.ThreadGroup group,
         java.lang.Runnable target,
         java.lang.String name)
      • FastThreadLocalThread

        public FastThreadLocalThread(java.lang.ThreadGroup group,
         java.lang.Runnable target,
         java.lang.String name,
         long stackSize)
    • Method Detail

      • threadLocalMap

        public final io.netty.util.internal.InternalThreadLocalMap threadLocalMap()
        Returns the internal data structure that keeps the thread-local variables bound to this thread. Note that this method is for internal use only, and thus is subject to change at any time.
      • setThreadLocalMap

        public final void setThreadLocalMap(io.netty.util.internal.InternalThreadLocalMap threadLocalMap)
        Sets the internal data structure that keeps the thread-local variables bound to this thread. Note that this method is for internal use only, and thus is subject to change at any time.
      • willCleanupFastThreadLocals

        @UnstableApi
        public boolean willCleanupFastThreadLocals()
        Returns true if FastThreadLocal.removeAll() will be called once Thread.run() completes.
      • willCleanupFastThreadLocals

        @UnstableApi
        public static boolean willCleanupFastThreadLocals(java.lang.Thread thread)
        Returns true if FastThreadLocal.removeAll() will be called once Thread.run() completes.
Skip navigation links

Copyright © 2008–2018 The Netty Project. All rights reserved.

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