sofastack/sofa-common-tools

Add Public Access Modifiers to ExecutingRunnable

TimothyZhang023 opened this issue · 0 comments

Your question

As we all known, ExecutingRunnable is an wrap of Runnable which were used as tracking the running info of submited tasks.
but we can't not access ExecutingRunnable directly due to it's packge level access.

Your scenes

when we making custom excutor extends SofaThreadPoolExecutor or making custom workQueue for the excutor,
we need access to origin Runnable so we can read infomation in our own custom Runnable.

Your advice

Add Public Access Modifiers to ExecutingRunnable

Environment

  • sofa-common-tools version:
  • JVM version (e.g. java -version):
  • OS version (e.g. uname -a):
  • Maven version:
  • IDE version: