zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liyuzhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ZOOKEEPER-3035) what does these opeartion code mean
Date Tue, 08 May 2018 16:20:00 GMT
liyuzhou created ZOOKEEPER-3035:

             Summary: 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

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 descrtion. Do we have some wiki or document abount
operation code? 

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;

This message was sent by Atlassian JIRA

View raw message