1 /**********************************************************************
2 * Copyright (c) 2016 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 **********************************************************************/
10 package org
.eclipse
.tracecompass
.tmf
.core
.trace
;
13 * An interface that trace classes can implement if they have a known size, so
14 * that reading progress can be shown.
16 * @author Matthew Khouzam
19 public interface ITmfTraceKnownSize
{
21 * Get the size of the trace. The units of this value are not important, but
22 * they should always be the same as {@link #progress()}
24 * @return the size of the trace. This can change from one call to the
25 * other, but a later call to this method should not see a decrease
31 * How much of the trace is read. The units of this value are not important,
32 * but they should always be the same as {@link #size()}
34 * @return how much of the trace is read. This should not exceed
This page took 0.031794 seconds and 5 git commands to generate.