Examples of debugStructure()


Examples of com.volantis.cache.impl.InternalCache.debugStructure()

                (delta.getMissedAddedCount() - delta.getRemovedCount()));
        System.out.println("Hit rate:               " + delta.getHitRate() + "%");

        System.out.println("Key count:              " + keys.size());

        cache.debugStructure(new IndentingWriter(System.out));

        // Make sure that the number of entries removed according to the
        // snapshot is equal to the number removed according to the listener.
        int notifiedRemovedCount = listener.getRemovedCount();
        System.out.println("Notified removed count: " + notifiedRemovedCount);
View Full Code Here

Examples of com.volantis.cache.impl.InternalCache.debugStructure()

        assertEquals(delta.getRemovedCount(), notifiedRemovedCount);

        if (logger.isDebugEnabled()) {
            StringWriter writer = new StringWriter();
            IndentingWriter printer = new IndentingWriter(writer);
            cache.debugStructure(printer);
            logger.debug(writer.toString());
        }
    }

    private static class Key {
View Full Code Here

Examples of com.volantis.cache.impl.InternalCacheEntry.debugStructure()

        List list = new ArrayList();
        addEntries(list);

        for (int i = 0; i < list.size(); i++) {
            InternalCacheEntry entry = (InternalCacheEntry) list.get(i);
            entry.debugStructure(writer);
        }

        // Iterate over the nested groups validating them and getting a count
        // of all the entries in the group.
        List groups = getGroupList();
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.