Skip to content

Commit 06c8978

Browse files
peanut996Interview Platform Bot
andauthored
[BOT] Add 15 new questions (#67)
[BOT] feat: Add 15 new questions Co-authored-by: Interview Platform Bot <bot@example.com>
1 parent 1124c7c commit 06c8978

File tree

1 file changed

+104
-0
lines changed

1 file changed

+104
-0
lines changed

data/questionBank.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4298,5 +4298,109 @@
42984298
],
42994299
"difficulty": "Medium",
43004300
"title": "线程池的 execute() 和 submit() 方法有什么区别?"
4301+
},
4302+
{
4303+
"type": "Question",
4304+
"category": [
4305+
"Java",
4306+
"Java",
4307+
"Concurrency",
4308+
"并发",
4309+
"ThreadPool",
4310+
"线程池"
4311+
],
4312+
"difficulty": "Medium",
4313+
"title": "ThreadPoolExecutor 的核心参数有哪些,它们的作用是什么?"
4314+
},
4315+
{
4316+
"type": "Question",
4317+
"category": [
4318+
"Java",
4319+
"Java",
4320+
"Concurrency",
4321+
"并发",
4322+
"ThreadPool",
4323+
"线程池"
4324+
],
4325+
"difficulty": "Medium",
4326+
"title": "如何选择合适的 BlockingQueue?"
4327+
},
4328+
{
4329+
"type": "Question",
4330+
"category": [
4331+
"Java",
4332+
"Java",
4333+
"Concurrency",
4334+
"并发",
4335+
"ThreadPool",
4336+
"线程池"
4337+
],
4338+
"difficulty": "Medium",
4339+
"title": "Future 接口的作用是什么?如何使用它来获取线程池任务的执行结果?"
4340+
},
4341+
{
4342+
"type": "Question",
4343+
"category": [
4344+
"Java",
4345+
"Java",
4346+
"Concurrency",
4347+
"并发",
4348+
"ThreadPool",
4349+
"线程池"
4350+
],
4351+
"difficulty": "Hard",
4352+
"title": "ThreadPoolExecutor 中,任务是如何从 workQueue 中被取出的?"
4353+
},
4354+
{
4355+
"type": "Question",
4356+
"category": [
4357+
"Java",
4358+
"Java",
4359+
"Concurrency",
4360+
"并发",
4361+
"ThreadPool",
4362+
"线程池"
4363+
],
4364+
"difficulty": "Hard",
4365+
"title": "ThreadPoolExecutor 中,addWorker 方法的作用是什么?"
4366+
},
4367+
{
4368+
"type": "Question",
4369+
"category": [
4370+
"Java",
4371+
"Java",
4372+
"Concurrency",
4373+
"并发",
4374+
"ThreadPool",
4375+
"线程池"
4376+
],
4377+
"difficulty": "Hard",
4378+
"title": "分析 ThreadPoolExecutor 的状态转换过程。"
4379+
},
4380+
{
4381+
"type": "Question",
4382+
"category": [
4383+
"Java",
4384+
"Java",
4385+
"Concurrency",
4386+
"并发",
4387+
"ThreadPool",
4388+
"线程池"
4389+
],
4390+
"difficulty": "Medium",
4391+
"title": "线程池的 allowCoreThreadTimeOut 参数有什么作用?在什么情况下应该使用它?"
4392+
},
4393+
{
4394+
"type": "Question",
4395+
"category": [
4396+
"Java",
4397+
"Java",
4398+
"Concurrency",
4399+
"并发",
4400+
"ThreadPool",
4401+
"线程池"
4402+
],
4403+
"difficulty": "Medium",
4404+
"title": "线程池的 prestartAllCoreThreads() 方法有什么作用?它和线程池的预热有什么区别?"
43014405
}
43024406
]

0 commit comments

Comments
 (0)