Package mondrian.rolap.agg

Examples of mondrian.rolap.agg.SegmentCacheManager


    {
        final List<RolapStar> starList = getStarList(region);
        for (RolapStar star : starList) {
            star.print(pw, "", false);
        }
        final SegmentCacheManager manager =
            MondrianServer.forConnection(connection)
                .getAggregationManager().cacheMgr;
        Locus.execute(
            connection,
            "CacheControlImpl.printCacheState",
            new Locus.Action<Void>() {
                public Void execute() {
                    manager.printCacheState(region, pw, Locus.peek());
                    return null;
                }
            });
    }
View Full Code Here


        final Locus locus =
            new Locus(
                this,
                "Execution.unregisterSegmentRequests",
                "cleaning up segment registrations");
        final SegmentCacheManager mgr =
            locus.getServer()
                .getAggregationManager().cacheMgr;
        mgr.execute(
            new SegmentCacheManager.Command<Void>() {
                public Void call() throws Exception {
                    mgr.getIndexRegistry()
                        .cancelExecutionSegments(Execution.this);
                    return null;
                }
                public Locus getLocus() {
                    return locus;
View Full Code Here

TOP

Related Classes of mondrian.rolap.agg.SegmentCacheManager

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.