Skip to content

Thread pools should be created with NamedThreadFactory for identification #9

@CodeIngL

Description

@CodeIngL

里面看到了NamedThreadFactory。为了更好区分线程信息,应该

Executors.newScheduledThreadPool(x)

进行修改

new ScheduledThreadPoolExecutor(X, new NamedThreadFactory("stl-${something}"));

Metadata

Metadata

Assignees

Labels

kind/enhancementCategory issues or prs related to enhancement.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions