Package com.foundationdb.ais.model

Examples of com.foundationdb.ais.model.HasStorage


    }

    private static void checkObject(HasStorage object, AISValidationOutput output, Map<Object,HasStorage> keyMap) {
        Object key = object.getStorageUniqueKey();
        if(key != null) {
            HasStorage curObject = keyMap.put(key, object);
            if(curObject != null) {
                output.reportFailure(
                    new AISValidationFailure(
                        new DuplicateStorageDescriptionKeysException(curObject, object, key)));
            }
View Full Code Here


        if(o instanceof Index) return (Index)o;
        throw new IllegalArgumentException("Unknown TreeLink holder: " + o);
    }

    private void expectTree(Object hasTreeLink) throws Exception {
        HasStorage link = treeLink(hasTreeLink);
        assertTrue("tree should exist: " + link.getStorageNameString(), treeExists(link));
    }
View Full Code Here

        assertTrue("tree should exist: " + link.getStorageNameString(), treeExists(link));
    }

    private void expectNoTree(Object hasTreeLink) throws Exception {
        cleanupTrees();
        HasStorage link = treeLink(hasTreeLink);
        assertFalse("tree should not exist: " + link.getStorageNameString(), treeExists(link));
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.ais.model.HasStorage

Copyright © 2018 www.massapicom. 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.