flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-4443) Add support in RpcCompletenessTest for inheritance of RpcGateway and RpcEndpoint
Date Tue, 23 Aug 2016 14:11:20 GMT

    [ https://issues.apache.org/jira/browse/FLINK-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432850#comment-15432850
] 

ASF GitHub Bot commented on FLINK-4443:
---------------------------------------

Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/2401
  
    Great @wenlong88. Changes look good to me. Will merge your PR. Thanks a lot for your contribution
:-) Please close the PR after I've merged it.


> Add support in RpcCompletenessTest for inheritance of RpcGateway and RpcEndpoint
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-4443
>                 URL: https://issues.apache.org/jira/browse/FLINK-4443
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination
>            Reporter: Wenlong Lyu
>            Assignee: Wenlong Lyu
>
> RpcCompletenessTest needs to support RpcGateway which is composited by some basic functions
like the example following:
> {code:java}
> public interface ExecutionStateListener extends RpcGateway {
> 	public void notifyExecutionStateChanges();
> }
> public interface JobStateListener extends RpcGateway {
> 	public void notifyJobStateChanges();
> }
> public interface JobWatcher extends ExecutionStateListener, JobStateListener, RpcGateway
{
> }
> public class JobWatcherEndpoint extends RpcEndpoint<JobWatcher> {
> 	protected JobWatcherEndpoint(RpcService rpcService) {
> 		super(rpcService);
> 	}
> 	@RpcMethod
> 	public void notifyExecutionStateChanges() {
> 	}
> 	@RpcMethod
> 	public void notifyJobStateChanges() {
> 	}
> }
> public class AttachedJobClient extends JobWatcherEndpoint {
> 	protected JobClient(RpcService rpcService) {
> 		super(rpcService);
> 	}
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message