Package com.volantis.cache.stats

Examples of com.volantis.cache.stats.StatisticsSnapshot.difference()


        // Validate the internal structure of the cache.
        ensureCacheIntegrity(cache);

        StatisticsSnapshot snapshotAfter = rootGroup.getStatisticsSnapshot();
        StatisticsDelta delta = snapshotAfter.difference(snapshotBefore);
        System.out.println("Period:                 " + delta.getPeriod());
        System.out.println("Hit count:              " + delta.getHitCount());
        System.out.println("Missed / Added count:   " + delta.getMissedAddedCount());
        System.out.println("Removed count:          " + delta.getRemovedCount());
        System.out.println("Change count:           " +
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.