2019年/11月/24日
一些生命周期
Servlet
Thread
- New
- Runnable
- Blocked
- Waiting
- Timed Waiting
- Terminated
ThreadPoolExecutor
- RUNNING
- SHUTDOWN
- STOP
- TIDYING
- TERMINATED
SpringBean作用域
- singleton
- prototype
- request
- session
- global Session
Spring Singleton Bean生命周期
Class
Java Object
- 创建阶段(Created)
- 应用阶段(In Use)
- 不可见阶段(Invisible)Docker:
- 不可达阶段(Unreachable)
- 收集阶段(Collected)
- 终结阶段(Finalized)
- 对象空间重分配阶段(De-allocated)
Docker
Pod
- Pending
- Running
- Succeeded
- Failed
- Unknown