daradurvs commented on a change in pull request #6845: IGNITE-12145: Monitoring 
list engine.
URL: https://github.com/apache/ignite/pull/6845#discussion_r322413685
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
 ##########
 @@ -106,9 +118,25 @@
     /** Dynamic caches. */
     private final ConcurrentMap<String, DynamicCacheDescriptor> 
registeredCaches = new ConcurrentHashMap<>();
 
+    /**
+     * Monitoring list for caches.
+     *
+     * @see ReadOnlyMonitoringListRegistry
+     * @see GridMetricManager
+     */
+    @Nullable private volatile MonitoringListImpl<String, CacheView> 
cachesMonList;
 
 Review comment:
   volatile is not required - as far as I can see, the field will be processed 
only by discovery thread

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to