参考:
参考:https://juejin.cn/post/6844903926366486535
可参考cola中状态机:https://heapdump.cn/article/3929010
https://www.cnblogs.com/vivotech/p/16128730.html