Package com.volantis.cache.impl.stats

Examples of com.volantis.cache.impl.stats.StatisticsGatherer


        this.clock = clock;
        entries = new CacheEntryList();
        removalListeners = new RemovalListenerList();

        purgeExcessEntriesAction = new PurgeExcessEntriesAction(this);
        gatherer = new StatisticsGatherer(clock);
    }
View Full Code Here


        List groups = getGroupList();
        StatisticsSnapshot snapshot;
        if (groups == null) {
            snapshot = gatherer.getStatisticsSnapshot(this);
        } else {
            StatisticsGatherer combined = new StatisticsGatherer(gatherer);

            for (int i = 0; i < groups.size(); i++) {
                Group group = (Group) groups.get(i);
                StatisticsSnapshot nested = group.getStatisticsSnapshot();
                combined.addSnapshot(nested);
            }

            snapshot = combined.getStatisticsSnapshot(this);
        }
        return snapshot;
    }
View Full Code Here

TOP

Related Classes of com.volantis.cache.impl.stats.StatisticsGatherer

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.