keith-turner commented on code in PR #50:
URL: 
https://github.com/apache/accumulo-classloaders/pull/50#discussion_r2709407139


##########
modules/local-caching-classloader/src/main/java/org/apache/accumulo/classloader/lcc/LocalCachingContextClassLoaderFactory.java:
##########
@@ -124,7 +152,7 @@ public class LocalCachingContextClassLoaderFactory 
implements ContextClassLoader
   private void monitorContext(final String contextLocation, long interval) {
     LOG.trace("Monitoring context definition file {} for changes at {} second 
intervals",
         contextLocation, interval);
-    EXECUTOR.schedule(() -> checkMonitoredLocation(contextLocation, interval), 
interval,
+    executor.schedule(() -> checkMonitoredLocation(contextLocation, interval), 
interval,

Review Comment:
   This returns a future that will catch all uncaught exceptions.  May need to 
monitor this future.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to