change collectedStatistics type to CopyOnWriteArrayList (#377)
authorzrlw <zrlw@sina.com>
Sat, 9 Oct 2021 07:49:29 +0000 (15:49 +0800)
committerGitHub <noreply@github.com>
Sat, 9 Oct 2021 07:49:29 +0000 (15:49 +0800)
commit1c9e23c9666719be62eade500eae61c1183c4d7c
tree6d279e35f6854347ff19a5e0b36964f17931bfe1
parentaa7480887c24163004b4b2299480687e6c04e986
change collectedStatistics type to CopyOnWriteArrayList (#377)

* change collectedStatistics type to CopyOnWriteArrayList

* CopyOnWriteArrayList could be read concurrently

* add URL not null assert
dubbo-samples-monitor/src/main/java/org/apache/dubbo/samples/monitor/impl/MonitorServiceImpl.java
dubbo-samples-monitor/src/test/java/org/apache/dubbo/samples/monitor/MonitorServiceIT.java