You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Jordan Zimmerman (Jira)" <ji...@apache.org> on 2020/03/18 16:06:00 UTC
[jira] [Updated] (ZOOKEEPER-3762) Add Client/Server API to return
available features
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jordan Zimmerman updated ZOOKEEPER-3762:
----------------------------------------
Description:
Recent versions have introduced several new features/changes. Clients would benefit from an API that reports the feature set that a server instance supports. Something like (in Java):
{code}
public enum ServerFeatures {
TTL_NODES,
PERSISTENT_WATCHERS,
... etc ... full set of features TBD
}
public Collection<ServerFeatures> getServerFeatures() {
...
}
{code}
was:
Recent versions have introduced several new features/changes. Clients would benefit from an API that reports the feature set that a server instance supports. Something like (in Java):
{code}
public enum ServerFeatures {
TTL_NODES,
PERSISTENT_WATCHERS,
... etc ... full set of features TBD
}
public Collection< ServerFeatures> getServerFeatures() {
...
}
{code}
> Add Client/Server API to return available features
> --------------------------------------------------
>
> Key: ZOOKEEPER-3762
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3762
> Project: ZooKeeper
> Issue Type: New Feature
> Components: c client, java client, server
> Affects Versions: 3.6.0
> Reporter: Jordan Zimmerman
> Priority: Major
>
> Recent versions have introduced several new features/changes. Clients would benefit from an API that reports the feature set that a server instance supports. Something like (in Java):
> {code}
> public enum ServerFeatures {
> TTL_NODES,
> PERSISTENT_WATCHERS,
> ... etc ... full set of features TBD
> }
> public Collection<ServerFeatures> getServerFeatures() {
> ...
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)