001/*002// This software is subject to the terms of the Eclipse Public License v1.0003// 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 Pentaho008// All Rights Reserved.009*/010package mondrian.server.monitor;011012/**013 * Deletion of a segment from the cell cache.014 */015public class CellCacheSegmentDeleteEvent extends CellCacheEvent {016017 public final int coordinateCount;018019 /**020 * Creates a CellCacheSegmentCreateEvent.021 *022 * @param timestamp Timestamp023 * @param serverId ID of the server from which the event originates.024 * @param connectionId ID of the connection from which the event025 * originates.026 * @param statementId ID of the statement from which the event originates.027 * @param executionId ID of the execution from which the event originates.028 * @param coordinateCount Number of coordinates of segment header029 * @param source Source of segment030 */031 public CellCacheSegmentDeleteEvent(032 long timestamp,033 int serverId,034 int connectionId,035 long statementId,036 long executionId,037 int coordinateCount,038 Source source)039 {040 super(041 timestamp, serverId, connectionId,042 statementId, executionId, source);043 this.coordinateCount = coordinateCount;044 }045046 public <T> T accept(Visitor<T> visitor) {047 return visitor.visit(this);048 }049}050051// End CellCacheSegmentDeleteEvent.java