Class TeamExecutor

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

    public class TeamExecutor
    extends java.lang.Object
    implements java.util.concurrent.Executor
    Executor that is backed by a Team.
    Author:
    Daniel Sagenschneider
    • 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
    • Constructor Detail

      • TeamExecutor

        public TeamExecutor​(Team team,
                            Executive executive)
        Instantiate.
        Parameters:
        team - Team.
        executive - Executive.
    • Method Detail

      • execute

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