Class ComponentActorThread

  • All Implemented Interfaces:
    java.lang.Runnable

    class ComponentActorThread
    extends java.lang.Object
    implements java.lang.Runnable
    The ComponentActorThread is the thread used to act upon registered components of the service component runtime.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private ScrLogger logger  
      private java.util.LinkedList<java.lang.Runnable> tasks  
      private static java.lang.Runnable TERMINATION_TASK  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      (package private) void schedule​(java.lang.Runnable task)  
      (package private) void terminate()  
      • Methods inherited from class java.lang.Object

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

      • TERMINATION_TASK

        private static final java.lang.Runnable TERMINATION_TASK
      • tasks

        private final java.util.LinkedList<java.lang.Runnable> tasks
    • Constructor Detail

      • ComponentActorThread

        ComponentActorThread​(ScrLogger log)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • terminate

        void terminate()
      • schedule

        void schedule​(java.lang.Runnable task)