zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liyuzhou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3035) what does these opeartion code mean
Date Wed, 09 May 2018 06:36:00 GMT

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

liyuzhou commented on ZOOKEEPER-3035:
-------------------------------------

Sorry, I know

> what does these opeartion code mean
> -----------------------------------
>
>                 Key: ZOOKEEPER-3035
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3035
>             Project: ZooKeeper
>          Issue Type: Wish
>            Reporter: liyuzhou
>            Priority: Minor
>
> I'm reading the source code, but I often can not understand the operation code mean in
OpCode.java. For example , the sync operation code is 9, but I can't understand what does
this mean, and the source code has nothing about the code description. Do we have some wiki
or document abount operation code?
> {code:java}
> public interface OpCode {
>         public final int notification = 0;
>         public final int setACL = 7;
>         public final int getChildren = 8;
>         public final int sync = 9;
>         public final int ping = 11;
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message