Till Rohrmann created FLINK-6076:
------------------------------------
Summary: Let the HeartbeatManager interface extend HeartbeatTarget
Key: FLINK-6076
URL: https://issues.apache.org/jira/browse/FLINK-6076
Project: Flink
Issue Type: Improvement
Components: Distributed Coordination
Affects Versions: 1.3.0
Reporter: Till Rohrmann
Assignee: Till Rohrmann
Priority: Minor
Fix For: 1.3.0
The {{HeartbeatManager}} interface sub classes {{HeartbeatManagerImpl}} and
{{HeartbeatManagerSenderImpl}} all implement the {{HeartbeatTarget}} interface.
I think we could let the {{HeartbeatManager}} interface extend the
{{HeartbeatTarget}} interface. Furthermore, I think it would be nicer to
instantiate the {{HeartbeatManagerImpls}} directly with a {{HeartbeatListener}}
instance. That way we could get rid of the {{HeartbeatManager#start}} method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)