You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Mariia Mykhailova (JIRA)" <ji...@apache.org> on 2015/10/13 00:47:06 UTC
[jira] [Created] (REEF-837) Stop using ErrorHandlerRID.NONE to mark
"no client connected"
Mariia Mykhailova created REEF-837:
--------------------------------------
Summary: Stop using ErrorHandlerRID.NONE to mark "no client connected"
Key: REEF-837
URL: https://issues.apache.org/jira/browse/REEF-837
Project: REEF
Issue Type: Improvement
Reporter: Mariia Mykhailova
Currently we're using {{ErrorHandlerRID.NONE}} and {{ClientRemoteIdentifier.NONE}} to denote that a Driver doesn't have a persistent connection to the client. Whenever we need to differentiate behavior for "client" and "no client" scenarios, we compare id to NONE value.
A proper approach would be to funnel all the communications to the client through an interface, and then bind proper implementation according to whether or not there is a client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)