Class SameThreadExecutor

  • All Implemented Interfaces:
    java.util.concurrent.Executor

    public class SameThreadExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    Author:
    Stuart Douglas
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.concurrent.Executor INSTANCE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Runnable command)  
      • Methods inherited from class java.lang.Object

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

      • INSTANCE

        public static final java.util.concurrent.Executor INSTANCE
    • Method Detail

      • execute

        public void execute​(java.lang.Runnable command)
        Specified by:
        execute in interface java.util.concurrent.Executor