Examples of DataTree


Examples of org.apache.zookeeper.server.DataTree

    @Test
    public void testTxnFailure() throws Exception {
        long count = 1;
        File tmpDir = ClientBase.createTmpDir();
        FileTxnSnapLog logFile = new FileTxnSnapLog(tmpDir, tmpDir);
        DataTree dt = new DataTree();
        dt.createNode("/test", new byte[0], null, 0, -1, 1, 1);
        for (count = 1; count <= 3; count++) {
            dt.createNode("/test/" + count, new byte[0], null, 0, -1, count,
                    System.currentTimeMillis());
        }
        DataNode zk = dt.getNode("/test");

        // Make create to fail, then verify cversion.
        LOG.info("Attempting to create " + "/test/" + (count - 1));
        doOp(logFile, OpCode.create, "/test/" + (count - 1), dt, zk, -1);
View Full Code Here

Examples of org.apache.zookeeper_voltpatches.server.DataTree

     * maps to. There is a one to one relationship
     * between a filetxnsnaplog and zkdatabase.
     * @param snapLog the FileTxnSnapLog mapping this zkdatabase
     */
    public ZKDatabase() {
        dataTree = new DataTree();
        sessionsWithTimeouts = new ConcurrentHashMap<Long, Long>();
    }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.utils.DataTree

     * <code>FormulaBuilderSourceTree</code> instance whose lifespan is shorter than the lifespan of
     * the <code>TreeMapper</code>.
     */
    @Override
    public void dispose() {
        DataTree sourceDataTree = getDataTree();
        sourceDataTree.removeTreeComponent(this);
        m_root = null;
        m_CROM_Tree = null;
    }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.utils.DataTree

        mapAreaDisplay = restoreMapDisplaySettings();
        m_bDisplayMapArea=!mapAreaDisplay.isEmpty();
        inputLink = StructureLink.none();
        outputLink = StructureLink.none();
        mode = TreeMapperMode.SIMPLE;
        sourceDataTree = new DataTree(this);
        targetDataTree = new DataTree(this);
        GlobalDataElements des = getTreeMapperContainer().getProject().getGlobalDataElements();
        projectVariables = new TransformationVariables(des);
        BooleanSourceAndTargetSetting simpleNodeDisplaySettings = restoreSimpleNodeDisplaySettings();
        BooleanSourceAndTargetSetting simpleXmlElementDisplaySettings = restoreSimpleXmlElementDisplaySettings();
        BooleanSourceAndTargetSetting showMappedNodesOnlySettings = restoreShowMappedNodesOnlySettings();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.