shalnisundram commented on code in PR #272:
URL: https://github.com/apache/cassandra-sidecar/pull/272#discussion_r2640831560


##########
server-common/src/main/java/org/apache/cassandra/sidecar/common/server/CompactionManagerOperations.java:
##########
@@ -32,4 +32,22 @@ public interface CompactionManagerOperations
      * @return list of compaction info maps
      */
     List<Map<String, String>> getCompactions();
+
+    /**
+     * Stops compaction based on compaction ID or type.
+     * If compactionId is provided, it takes precedence over compactionType.
+     *
+     * @param compactionId   the compaction ID to stop (nullable)
+     * @throws IllegalArgumentException if both parameters are null or empty
+     */
+    void stopCompactionById(String compactionId);
+
+    /**
+     * Stops compaction based on compaction ID or type.

Review Comment:
   Correct - clarification made in both Javadocs in most recent push



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

Reply via email to