Interface ThreadExecutorRegion


public interface ThreadExecutorRegion
ThreadExecutorRegion
Author:
渔民小镇
date:
2023-12-01
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    execute(Runnable runnable, long index)
    Get the Executor by index to run the task.
    getThreadExecutor(long index)
    Get the Executor based on the index.
  • Method Details

    • getThreadExecutor

      ThreadExecutor getThreadExecutor(long index)
      Get the Executor based on the index.
      Parameters:
      index - index index
      Returns:
      Executor Executor
    • execute

      default void execute(Runnable runnable, long index)
      Get the Executor by index to run the task.
      Parameters:
      runnable - runnable
      index - index