mivanac commented on code in PR #7323:
URL: https://github.com/apache/geode/pull/7323#discussion_r909257939


##########
geode-core/src/main/java/org/apache/geode/cache/wan/GatewaySender.java:
##########
@@ -215,6 +216,34 @@ enum OrderPolicy {
    */
   void startWithCleanQueue();
 
+
+  /**
+   * Prepare GatewaySender for closing of Cache.
+   *
+   * <p>
+   * Implementation of new API in ParallelGatewaySenderImpl:
+   *
+   *
+   * <pre>
+   * public void prepareForStop() {
+   *   if (!isRunning()) {
+   *     return;
+   *   }
+   *   pause();
+   *   if (eventProcessor != null &amp;&amp; !eventProcessor.isStopped()) {
+   *     eventProcessor.prepareForStopProcessing();
+   *   }
+   * }
+   * </pre>
+   *
+   *
+   * <p>
+   * Invoked at closing of cache.
+   *
+   */
+  @Experimental
+  void prepareForStop();

Review Comment:
   Hi @kirklund , are changes now OK?



-- 
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: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to