Class SingleThreadEventExecutor.DefaultThreadProperties

java.lang.Object
io.netty.util.concurrent.SingleThreadEventExecutor.DefaultThreadProperties
All Implemented Interfaces:
ThreadProperties
Enclosing class:
SingleThreadEventExecutor

private static final class SingleThreadEventExecutor.DefaultThreadProperties extends java.lang.Object implements ThreadProperties
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.lang.Thread
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultThreadProperties(java.lang.Thread t)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    id()
     
    boolean
     
    boolean
     
    boolean
     
    java.lang.String
     
    int
     
    java.lang.StackTraceElement[]
     
    java.lang.Thread.State
     

    Methods inherited from class java.lang.Object

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

    • t

      private final java.lang.Thread t
  • Constructor Details

    • DefaultThreadProperties

      DefaultThreadProperties(java.lang.Thread t)
  • Method Details

    • state

      public java.lang.Thread.State state()
      Specified by:
      state in interface ThreadProperties
      See Also:
      • Thread.getState()
    • priority

      public int priority()
      Specified by:
      priority in interface ThreadProperties
      See Also:
      • Thread.getPriority()
    • isInterrupted

      public boolean isInterrupted()
      Specified by:
      isInterrupted in interface ThreadProperties
      See Also:
      • Thread.isInterrupted()
    • isDaemon

      public boolean isDaemon()
      Specified by:
      isDaemon in interface ThreadProperties
      See Also:
      • Thread.isDaemon()
    • name

      public java.lang.String name()
      Specified by:
      name in interface ThreadProperties
      See Also:
      • Thread.getName()
    • id

      public long id()
      Specified by:
      id in interface ThreadProperties
      See Also:
      • Thread.getId()
    • stackTrace

      public java.lang.StackTraceElement[] stackTrace()
      Specified by:
      stackTrace in interface ThreadProperties
      See Also:
      • Thread.getStackTrace()
    • isAlive

      public boolean isAlive()
      Specified by:
      isAlive in interface ThreadProperties
      See Also:
      • Thread.isAlive()