clintropolis commented on code in PR #14806:
URL: https://github.com/apache/druid/pull/14806#discussion_r1295105892
##########
processing/src/main/java/org/apache/druid/query/lookup/LookupExtractorFactory.java:
##########
@@ -79,4 +80,14 @@ default boolean destroy()
*/
@Nullable
LookupIntrospectHandler getIntrospectHandler();
+
+ /**
+ * awaitToInitialise blocks and wait for the cache to initialize fully.
+ */
+ void awaitToInitialise() throws InterruptedException, TimeoutException;
+
+ /**
+ * @return true if cache is loaded and lookup is queryable else returns false
+ */
+ boolean isCacheLoaded();
Review Comment:
to be more consistent with the other method name to block waiting for this
to be true, i recommend `isInitialized` or something
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]