test_class.declarator: DELAY_MS = 1100
test_class.modifier: private static final
test_class.original_string: private static final long DELAY_MS = 1100;
test_class.type: long
test_class.var_name: DELAY_MS
test_class.declarator: DELAY = milliseconds(DELAY_MS)
test_class.modifier: private static final
test_class.original_string: private static final Duration DELAY = milliseconds(DELAY_MS);
test_class.type: Duration
test_class.var_name: DELAY
test_class.declarator: WAIT_FOR_PROPAGATION_MS = 300
test_class.modifier: private static final
test_class.original_string: private static final int WAIT_FOR_PROPAGATION_MS = 300;
test_class.type: int
test_class.var_name: WAIT_FOR_PROPAGATION_MS
test_class.declarator: commandFactory =
              new TestActorRequestFactory(ExecutorCommandSchedulerTest.class).command()
test_class.modifier: private final
test_class.original_string: private final CommandFactory commandFactory =
              new TestActorRequestFactory(ExecutorCommandSchedulerTest.class).command();
test_class.type: CommandFactory
test_class.var_name: commandFactory
test_class.declarator: commandBus
test_class.modifier: private
test_class.original_string: private CommandBus commandBus;
test_class.type: CommandBus
test_class.var_name: commandBus
test_class.declarator: scheduler
test_class.modifier: private
test_class.original_string: private CommandScheduler scheduler;
test_class.type: CommandScheduler
test_class.var_name: scheduler
test_class.declarator: watcher
test_class.modifier: private
test_class.original_string: private MemoizingCommandFlowWatcher watcher;
test_class.type: MemoizingCommandFlowWatcher
test_class.var_name: watcher
test_class.declarator: commandContext
test_class.modifier: private
test_class.original_string: private CommandContext commandContext;
test_class.type: CommandContext
test_class.var_name: commandContext
test_class.declarator: context
test_class.modifier: private
test_class.original_string: private BoundedContext context;
test_class.type: BoundedContext
test_class.var_name: context
test_class.file: server/src/test/java/io/spine/server/commandbus/ExecutorCommandSchedulerTest.java
test_class.identifier: ExecutorCommandSchedulerTest
test_case.body: @Test
      @DisplayName("throw ISE on scheduling attempt when is shutdown")
      void throwExceptionIfIsShutdown() {
          scheduler.shutdown();
          try {
              scheduler.schedule(Given.ACommand.createProject());
          } catch (IllegalStateException expected) {
              // is OK as it is shutdown
              return;
          }
          fail("Must throw an exception as it is shutdown.");
      }
test_case.class_method_signature: ExecutorCommandSchedulerTest.throwExceptionIfIsShutdown()
test_case.full_signature: @Test @DisplayName("throw ISE on scheduling attempt when is shutdown") void throwExceptionIfIsShutdown()
test_case.identifier: throwExceptionIfIsShutdown
test_case.invocations: shutdown schedule createProject fail
test_case.modifiers: @Test @DisplayName("throw ISE on scheduling attempt when is shutdown")
test_case.parameters: ()
test_case.return: void
test_case.signature: void throwExceptionIfIsShutdown()
focal_class.declarator: MIN_THREAD_POOL_SIZE = 5
focal_class.modifier: private static final
focal_class.original_string: private static final int MIN_THREAD_POOL_SIZE = 5;
focal_class.type: int
focal_class.var_name: MIN_THREAD_POOL_SIZE
focal_class.declarator: NANOS_IN_MILLISECOND = 1_000_000
focal_class.modifier: private static final
focal_class.original_string: private static final int NANOS_IN_MILLISECOND = 1_000_000;
focal_class.type: int
focal_class.var_name: NANOS_IN_MILLISECOND
focal_class.declarator: MILLIS_IN_SECOND = 1_000
focal_class.modifier: private static final
focal_class.original_string: private static final int MILLIS_IN_SECOND = 1_000;
focal_class.type: int
focal_class.var_name: MILLIS_IN_SECOND
focal_class.declarator: executorService
focal_class.modifier: private final
focal_class.original_string: private final ScheduledExecutorService executorService;
focal_class.type: ScheduledExecutorService
focal_class.var_name: executorService
focal_class.file: server/src/main/java/io/spine/server/commandbus/ExecutorCommandScheduler.java
focal_class.identifier: ExecutorCommandScheduler
focal_class.interfaces: implements Logging
focal_class.class_method_signature: ExecutorCommandScheduler.ExecutorCommandScheduler(ScheduledExecutorService executorService)
focal_class.full_signature: @VisibleForTesting public  ExecutorCommandScheduler(ScheduledExecutorService executorService)
focal_class.identifier: ExecutorCommandScheduler
focal_class.modifiers: @VisibleForTesting public
focal_class.parameters: (ScheduledExecutorService executorService)
focal_class.signature:  ExecutorCommandScheduler(ScheduledExecutorService executorService)
focal_class.class_method_signature: ExecutorCommandScheduler.ExecutorCommandScheduler()
focal_class.full_signature: public  ExecutorCommandScheduler()
focal_class.identifier: ExecutorCommandScheduler
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ExecutorCommandScheduler()
focal_class.class_method_signature: ExecutorCommandScheduler.doSchedule(Command command)
focal_class.full_signature: @SuppressWarnings("FutureReturnValueIgnored") // Error handling is done manually. @Override protected void doSchedule(Command command)
focal_class.identifier: doSchedule
focal_class.modifiers: @SuppressWarnings("FutureReturnValueIgnored") // Error handling is done manually. @Override protected
focal_class.parameters: (Command command)
focal_class.return: void
focal_class.signature: void doSchedule(Command command)
focal_class.class_method_signature: ExecutorCommandScheduler.safePost(Command command)
focal_class.full_signature: private void safePost(Command command)
focal_class.identifier: safePost
focal_class.modifiers: private
focal_class.parameters: (Command command)
focal_class.return: void
focal_class.signature: void safePost(Command command)
focal_class.class_method_signature: ExecutorCommandScheduler.delayMillisecondsOf(Command command)
focal_class.full_signature: private static long delayMillisecondsOf(Command command)
focal_class.identifier: delayMillisecondsOf
focal_class.modifiers: private static
focal_class.parameters: (Command command)
focal_class.return: long
focal_class.signature: long delayMillisecondsOf(Command command)
focal_class.class_method_signature: ExecutorCommandScheduler.shutdown()
focal_class.full_signature: @Override public void shutdown()
focal_class.identifier: shutdown
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutdown()
focal_class.superclass: extends CommandScheduler
focal_method.body: @Override
      public void shutdown() {
          super.shutdown();
          executorService.shutdown();
      }
focal_method.class_method_signature: ExecutorCommandScheduler.shutdown()
focal_method.full_signature: @Override public void shutdown()
focal_method.identifier: shutdown
focal_method.invocations: shutdown shutdown
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void shutdown()