001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2011-2011 Pentaho
008// All Rights Reserved.
009*/
010package mondrian.spi;
011
012import mondrian.olap.QueryTiming;
013
014/**
015 * Called when a statement has profile information.
016 */
017public interface ProfileHandler {
018    /**
019     * Called when a statement has finished executing.
020     *
021     * @param plan Annotated plan
022     * @param timing Query timings
023     */
024    public void explain(String plan, QueryTiming timing);
025}
026
027// End ProfileHandler.java