Class WebSocketSettings.SameThreadExecutor

  • All Implemented Interfaces:
    Executor
    Enclosing class:
    WebSocketSettings

    public static class WebSocketSettings.SameThreadExecutor
    extends java.lang.Object
    implements Executor
    Simple executor that runs the tasks in the caller thread.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run​(java.lang.Runnable command)
      Runs a simple task that doesn't return a result
      • Methods inherited from class java.lang.Object

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

      • SameThreadExecutor

        public SameThreadExecutor()
    • Method Detail

      • run

        public void run​(java.lang.Runnable command)
        Description copied from interface: Executor
        Runs a simple task that doesn't return a result
        Specified by:
        run in interface Executor
        See Also:
        Thread.run()