rkhachatryan commented on code in PR #24292:
URL: https://github.com/apache/flink/pull/24292#discussion_r1486795898
##########
flink-rpc/flink-rpc-core/src/main/java/org/apache/flink/runtime/rpc/RpcGateway.java:
##########
@@ -34,4 +34,16 @@ public interface RpcGateway {
* @return Fully qualified hostname under which the associated rpc
endpoint is reachable
*/
String getHostname();
+
+ /**
+ * Perform optional steps before handling any messages or performing
service actions (e.g.
+ * start/stop).
+ */
+ default void beforeInvocation() {}
Review Comment:
Do you mean passing these Runnables to `actor.Props.create()`?
--
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]