You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2008/11/26 00:57:44 UTC

[jira] Resolved: (ZOOKEEPER-113) ZooKeeper.java should be interface not concrete class.

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Hunt resolved ZOOKEEPER-113.
------------------------------------

    Resolution: Invalid

Closing this as invalid since no one seemed to agree with me. :-(

> ZooKeeper.java should be interface not concrete class.
> ------------------------------------------------------
>
>                 Key: ZOOKEEPER-113
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-113
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Patrick Hunt
>
> I think ZooKeeper class in src/java/main should be an interface rather than a concrete class. Among other OO goodness this would give us more flexibility when implementing tests on client code. Would also require something like a factory to be created, which might actually work well with another JIRA we have which is the idea to use a URI(s) rather than a host:port combination when creating zookeeper clients.
> Unfortunately this would have a big impact on clients as it's not b/w compatible (instantiating a new client that is).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.