X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=org.eclipse.linuxtools.lttng2.core%2Fsrc%2Forg%2Feclipse%2Flinuxtools%2Finternal%2Flttng2%2Fcore%2Fcontrol%2Fmodel%2FIChannelInfo.java;h=a048307c63a79f4b6324c928a82c25823b553f29;hb=a6e6f7b4c37dc5adce8b2deeaf1d360b1284ad46;hp=fc0832a6150fe7ec72f0e290a59204ffe613dcf5;hpb=dbd4432dd9f427af47e9755cbf67b18e2e47b001;p=deliverable%2Ftracecompass.git diff --git a/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IChannelInfo.java b/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IChannelInfo.java index fc0832a615..a048307c63 100644 --- a/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IChannelInfo.java +++ b/org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/IChannelInfo.java @@ -1,12 +1,12 @@ /********************************************************************** - * Copyright (c) 2012 Ericsson - * + * Copyright (c) 2012, 2013 Ericsson + * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: + * + * Contributors: * Bernd Hufmann - Initial API and implementation **********************************************************************/ package org.eclipse.linuxtools.internal.lttng2.core.control.model; @@ -17,7 +17,7 @@ import java.util.List; *
* Interface for retrieval of trace channel information. *
- * + * * @author Bernd Hufmann */ public interface IChannelInfo extends ITraceInfo { @@ -30,117 +30,117 @@ public interface IChannelInfo extends ITraceInfo { */ public final static boolean DEFAULT_OVERWRITE_MODE = false; /** - * Default value for sub-buffer size for a UST channel. + * Default value for sub-buffer size for a UST channel. */ public final static long DEFAULT_SUB_BUFFER_SIZE_UST = 4096L; /** - * Default value for sub-buffer size for a Kernel channel. + * Default value for sub-buffer size for a Kernel channel. */ public final static long DEFAULT_SUB_BUFFER_SIZE_KERNEL = 262144L; /** - * Default value for number of sub-buffer a UST channel. + * Default value for number of sub-buffer a UST channel. */ public final static int DEFAULT_NUMBER_OF_SUB_BUFFERS_UST = 8; /** - * Default value for number of sub-buffer a Kernel channel. + * Default value for number of sub-buffer a Kernel channel. */ public final static int DEFAULT_NUMBER_OF_SUB_BUFFERS_KERNEL = 4; /** - * Default value for number of the switch timer interval. + * Default value for number of the switch timer interval. */ public final static long DEFAULT_SWITCH_TIMER = 0; /** - * Default value for number of the read timer interval. + * Default value for number of the read timer interval. */ public final static long DEFAULT_READ_TIMER = 200; - + /** * @return the overwrite mode value. */ - public boolean isOverwriteMode(); + boolean isOverwriteMode(); /** * Sets the overwrite mode value to the given mode. * @param mode - mode to set. */ - public void setOverwriteMode(boolean mode); + void setOverwriteMode(boolean mode); /** * @return the sub-buffer size. */ - public long getSubBufferSize(); + long getSubBufferSize(); /** * Sets the sub-buffer size to the given value. * @param bufferSize - size to set to set. */ - public void setSubBufferSize(long bufferSize); + void setSubBufferSize(long bufferSize); /** * @return the number of sub-buffers. */ - public int getNumberOfSubBuffers(); + int getNumberOfSubBuffers(); /** * Sets the number of sub-buffers to the given value. * @param numberOfSubBuffers - value to set. */ - public void setNumberOfSubBuffers(int numberOfSubBuffers); + void setNumberOfSubBuffers(int numberOfSubBuffers); /** * @return the switch timer interval. */ - public long getSwitchTimer(); + long getSwitchTimer(); /** * Sets the switch timer interval to the given value. * @param timer - timer value to set. */ - public void setSwitchTimer(long timer); - + void setSwitchTimer(long timer); + /** * @return the read timer interval. */ - public long getReadTimer(); + long getReadTimer(); /** * Sets the read timer interval to the given value. * @param timer - timer value to set.. */ - public void setReadTimer(long timer); + void setReadTimer(long timer); /** * @return the output type. */ - public String getOutputType(); + String getOutputType(); /** * Sets the output type to the given value. * @param type - type to set. */ - public void setOutputType(String type); - + void setOutputType(String type); + /** * @return the channel state (enabled or disabled). */ - public TraceEnablement getState(); + TraceEnablement getState(); /** * Sets the channel state (enablement) to the given value. * @param state - state to set. */ - public void setState(TraceEnablement state); + void setState(TraceEnablement state); /** * Sets the channel state (enablement) to the value specified by the given name. * @param stateName - state to set. */ - public void setState(String stateName); + void setState(String stateName); /** * @return all event information as array. */ - public IEventInfo[] getEvents(); + IEventInfo[] getEvents(); /** * Sets the event information specified by given list. * @param events - all event information to set. */ - public void setEvents(List