yifan-c commented on code in PR #118:
URL: https://github.com/apache/cassandra-sidecar/pull/118#discussion_r1588044097
##########
src/main/java/org/apache/cassandra/sidecar/concurrent/TaskExecutorPool.java:
##########
@@ -204,6 +225,15 @@ Future<Void> closeInternal()
: workerExecutor.close();
}
+ /**
+ * ThrowableRunnable is similar to {@link Runnable}, but it can throw
{@link Exception}
+ */
+ @FunctionalInterface
+ public interface ThrowableRunnable
+ {
+ void run() throws Exception;
Review Comment:
Sure
--
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]