06f6cd118fab054448351b01b8231f23fbae9525
1 /**********************************************************************
2 * Copyright (c) 2013 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
10 * Simon Delisle - Initial API and implementation
11 * Bernd Hufmann - Updated to enum definition
12 **********************************************************************/
14 package org
.eclipse
.linuxtools
.internal
.lttng2
.control
.core
.model
.impl
;
17 * Constants for buffer type.
19 * @author Simon Delisle
20 * @author Bernd Hufmann
23 public enum BufferType
{
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
28 * Buffer type : per UID
30 BUFFER_PER_UID("per UID"), //$NON-NLS-1$
32 * Buffer type : per PID
34 BUFFER_PER_PID("per PID"), //$NON-NLS-1$
36 * Buffer type : shared
38 BUFFER_SHARED("shared"), //$NON-NLS-1$
40 * If the LTTng version doesn't show the buffer type
42 BUFFER_TYPE_UNKNOWN("information not unavailable"); //$NON-NLS-1$
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
50 private final String fInName
;
52 // ------------------------------------------------------------------------
54 // ------------------------------------------------------------------------
58 * @param name the name of state
60 private BufferType(String name
) {
64 // ------------------------------------------------------------------------
66 // ------------------------------------------------------------------------
70 public String
getInName() {
This page took 0.032342 seconds and 5 git commands to generate.