use of org.apache.flink.runtime.io.network.api.writer.NonRecordWriter in project flink by apache.
the class StreamTaskExecutionDecorationTest method before.
@Before
public void before() throws Exception {
mailbox = new TaskMailboxImpl();
decorator = new CountingStreamTaskActionExecutor();
task = new StreamTask<Object, StreamOperator<Object>>(new DeclineDummyEnvironment(), null, FatalExitExceptionHandler.INSTANCE, decorator, mailbox) {
@Override
protected void init() {
}
@Override
protected void processInput(MailboxDefaultAction.Controller controller) {
}
};
task.operatorChain = new RegularOperatorChain<>(task, new NonRecordWriter<>());
}
Aggregations