kyuubi/docs
timothy65535 22e6432e4d
[KYUUBI #1022] Add basic EngineStatusStore for events
### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->

For more detail, please go to https://github.com/apache/incubator-kyuubi/issues/981

`EngineStatusStore` helps to push events to listener bus

`EngineStatusStore` is a memory store that tracking the number of statements and sessions, it provides:
- stores all elements, and sorted by startTimestamp.
- cleanup the last elements when reach a certain threshold.

### _How was this patch tested?_
- [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #1023 from timothy65535/ky-1022.

Closes #1022

b9f355c4 [timothy65535] [KYUUBI #1022] Add basic EngineStatusStore for events

Authored-by: timothy65535 <timothy65535@163.com>
Signed-off-by: Kent Yao <yao@apache.org>
2021-09-26 10:40:26 +08:00
..
appendix [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
client [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
community [KYUUBI #998] Update release doc 2021-08-30 14:55:09 +08:00
deployment [KYUUBI #1022] Add basic EngineStatusStore for events 2021-09-26 10:40:26 +08:00
develop_tools [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
imgs [KYUUBI #1130] [DOCS] Restore Kyuubi logo image size 2021-09-22 13:54:32 +08:00
integrations [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
monitor [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
overview [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
quick_start [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
security [KYUUBI #1090] Add deployment document about Hadoop Credentials Manager 2021-09-15 10:02:09 +08:00
sql [KYUUBI #1002][FOLLOWUP] Refine sql classification rule 2021-09-24 12:02:30 +08:00
tools [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
conf.py [KYUUBI #874] [ASF] ASF Publish 2021-08-16 11:48:21 +08:00
index.rst [KYUUBI #951] [LICENSE] Add license header on all docs 2021-08-19 09:53:52 +08:00
make.bat [KYUUBI #874] [ASF] ASF Publish 2021-08-16 11:48:21 +08:00
Makefile [KYUUBI #874] [ASF] ASF Publish 2021-08-16 11:48:21 +08:00
requirements.txt [KYUUBI #874] [ASF] ASF Publish 2021-08-16 11:48:21 +08:00