Package com.sleepycat.bdb.collection

Examples of com.sleepycat.bdb.collection.StoredSortedMap.values()


        assertTrue(!((StoredContainer) map.entrySet()).isDirtyReadEnabled());

        StoredSortedMap other =
            (StoredSortedMap) StoredCollections.dirtyReadMap(map);
        assertTrue(other.isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.values()).isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.keySet()).isDirtyReadEnabled());
        assertTrue(((StoredContainer) other.entrySet()).isDirtyReadEnabled());
        assertTrue(!map.isDirtyReadEnabled());
        assertTrue(!((StoredContainer) map.values()).isDirtyReadEnabled());
        assertTrue(!((StoredContainer) map.keySet()).isDirtyReadEnabled());
View Full Code Here


        assertTrue(!((StoredContainer) map.keySet()).isAutoCommit());
        assertTrue(!((StoredContainer) map.entrySet()).isAutoCommit());

        other = (StoredSortedMap) StoredCollections.autoCommitMap(map);
        assertTrue(other.isAutoCommit());
        assertTrue(((StoredContainer) other.values()).isAutoCommit());
        assertTrue(((StoredContainer) other.keySet()).isAutoCommit());
        assertTrue(((StoredContainer) other.entrySet()).isAutoCommit());
        assertTrue(!map.isAutoCommit());
        assertTrue(!((StoredContainer) map.values()).isAutoCommit());
        assertTrue(!((StoredContainer) map.keySet()).isAutoCommit());
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.