StefanRRichter commented on a change in pull request #8692: [FLINK-12804] 
Introduce mailbox-based ExecutorService
URL: https://github.com/apache/flink/pull/8692#discussion_r298179400
 
 

 ##########
 File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
 ##########
 @@ -226,13 +219,18 @@ protected StreamTask(
                this.accumulatorMap = 
getEnvironment().getAccumulatorRegistry().getUserMap();
                this.recordWriters = createRecordWriters(configuration, 
environment);
                this.syncSavepointLatch = new SynchronousSavepointLatch();
-               this.mailbox = new MailboxImpl();
+               this.mailboxProcessor = new MailboxProcessor(this);
 
 Review comment:
   I would have to prefix the class name. But anyways I changed and refactored 
it a bit more, I was already tempted to rename `ActionContext` to 
`DefaultActionContext` before.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to