Enum GameThreadRouting.Route

java.lang.Object
java.lang.Enum<GameThreadRouting.Route>
privbot.context.GameThreadRouting.Route
All Implemented Interfaces:
Serializable, Comparable<GameThreadRouting.Route>, java.lang.constant.Constable
Enclosing class:
GameThreadRouting

public static enum GameThreadRouting.Route extends Enum<GameThreadRouting.Route>
Where a call runs.
  • Enum Constant Details

    • INLINE

      public static final GameThreadRouting.Route INLINE
      On the calling thread.
    • PULSE_QUEUE

      public static final GameThreadRouting.Route PULSE_QUEUE
      Queued on the ClientThread and awaited; the game thread's frame pulse drains it.
    • EDT_MARSHAL

      public static final GameThreadRouting.Route EDT_MARSHAL
      EventQueue.invokeAndWait.
    • CLIENT_THREAD_QUEUE

      public static final GameThreadRouting.Route CLIENT_THREAD_QUEUE
      Queued on the ClientThread; awaited by ensure, fire-and-forget for invokeLater.
    • INLINE_UNINITIALISED

      public static final GameThreadRouting.Route INLINE_UNINITIALISED
      On the calling thread because this copy was never initialised; warned once per thread.
  • Method Details

    • values

      public static GameThreadRouting.Route[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GameThreadRouting.Route valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null