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-2012 Pentaho
008// All Rights Reserved.
009*/
010package mondrian.server.monitor;
011
012/**
013 * Visitor for events.
014 */
015public interface Visitor<T> {
016    T visit(ConnectionStartEvent event);
017    T visit(ConnectionEndEvent event);
018    T visit(StatementStartEvent event);
019    T visit(StatementEndEvent event);
020    T visit(ExecutionStartEvent event);
021    T visit(ExecutionPhaseEvent event);
022    T visit(ExecutionEndEvent event);
023    T visit(SqlStatementStartEvent event);
024    T visit(SqlStatementExecuteEvent event);
025    T visit(SqlStatementEndEvent event);
026    T visit(CellCacheSegmentCreateEvent event);
027    T visit(CellCacheSegmentDeleteEvent event);
028}
029
030// End Visitor.java