Java 类org.apache.zookeeper.data.StatPersistedV1 实例源码

项目:fuck_zookeeper    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:ZooKeeper    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:StreamProcessingInfrastructure    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:bigstreams    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:bigstreams    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:zookeeper-src-learning    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:zookeeper    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:StreamBench    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:ACaZoo    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:LoadBalanced_zk    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:LoadBalanced_zk    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:zookeeper.dsc    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:zookeeper-pkg    文件:DataNodeV1.java   
public void deserialize(InputArchive archive, String tag)
        throws IOException {
    archive.startRecord("node");
    data = archive.readBuffer("data");
    Index i = archive.startVector("acl");
    if (i != null) {
        acl = new ArrayList<ACL>();
        while (!i.done()) {
            ACL a = new ACL();
            a.deserialize(archive, "aclEntry");
            acl.add(a);
            i.incr();
        }
    }
    archive.endVector("acl");
    stat = new StatPersistedV1();
    stat.deserialize(archive, "stat");
    archive.endRecord("node");
}
项目:fuck_zookeeper    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:fuck_zookeeper    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:fuck_zookeeper    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:ZooKeeper    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:ZooKeeper    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:ZooKeeper    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:StreamProcessingInfrastructure    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:StreamProcessingInfrastructure    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:StreamProcessingInfrastructure    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:bigstreams    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:bigstreams    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:bigstreams    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:bigstreams    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:bigstreams    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:bigstreams    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:zookeeper-src-learning    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:zookeeper-src-learning    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:zookeeper-src-learning    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:zookeeper    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:zookeeper    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:zookeeper    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:StreamBench    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:StreamBench    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:StreamBench    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}
项目:ACaZoo    文件:DataNodeV1.java   
DataNodeV1(DataNodeV1 parent, byte data[], List<ACL> acl, StatPersistedV1 stat) {
    this.parent = parent;
    this.data = data;
    this.acl = acl;
    this.stat = stat;
    this.children = new HashSet<String>();
}
项目:ACaZoo    文件:UpgradeSnapShotV1.java   
/**
 * convert the old stat to new stat
 * @param oldStat the old stat
 * @return the new stat
 */
private StatPersisted convertStat(StatPersistedV1 oldStat) {
    StatPersisted stat = new StatPersisted();
    stat.setAversion(oldStat.getAversion());
    stat.setCtime(oldStat.getCtime());
    stat.setCversion(oldStat.getCversion());
    stat.setCzxid(oldStat.getCzxid());
    stat.setEphemeralOwner(oldStat.getEphemeralOwner());
    stat.setMtime(oldStat.getMtime());
    stat.setMzxid(oldStat.getMzxid());
    stat.setVersion(oldStat.getVersion());
    return stat;
}
项目:ACaZoo    文件:DataTreeV1.java   
static public void copyStatPersisted(StatPersistedV1 from, StatPersistedV1 to) {
    to.setAversion(from.getAversion());
    to.setCtime(from.getCtime());
    to.setCversion(from.getCversion());
    to.setCzxid(from.getCzxid());
    to.setMtime(from.getMtime());
    to.setMzxid(from.getMzxid());
    to.setVersion(from.getVersion());
    to.setEphemeralOwner(from.getEphemeralOwner());
}