/*- * ============LICENSE_START========================================== * OPENECOMP - DCAE * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============LICENSE_END============================================ */ /** */ package org.openecomp.ncomp.docker; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Container Cpu Usage'. * * * * "cpu_stats" : { * "cpu_usage" : { * "percpu_usage" : [ * 16970827, * 1839451, * 7107380, * 10571290 * ], * "usage_in_usermode" : 10000000, * "total_usage" : 36488948, * "usage_in_kernelmode" : 20000000 * }, * "system_cpu_usage" : 20091722000000000, * "throttling_data" : {} * } * * *

* The following features are supported: *

* * * @see org.openecomp.ncomp.docker.DockerPackage#getContainerCpuUsage() * @model * @generated */ public interface ContainerCpuUsage extends EObject { /** * Returns the value of the 'Percpu usage' attribute list. * The list contents are of type {@link java.lang.Long}. * *

* If the meaning of the 'Percpu usage' attribute list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Percpu usage' attribute list. * @see org.openecomp.ncomp.docker.DockerPackage#getContainerCpuUsage_Percpu_usage() * @model unique="false" * @generated */ EList getPercpu_usage(); /** * Returns the value of the 'Usage in usermode' attribute. * *

* If the meaning of the 'Usage in usermode' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Usage in usermode' attribute. * @see #setUsage_in_usermode(long) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerCpuUsage_Usage_in_usermode() * @model unique="false" * @generated */ long getUsage_in_usermode(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerCpuUsage#getUsage_in_usermode Usage in usermode}' attribute. * * * @param value the new value of the 'Usage in usermode' attribute. * @see #getUsage_in_usermode() * @generated */ void setUsage_in_usermode(long value); /** * Returns the value of the 'Total usage' attribute. * *

* If the meaning of the 'Total usage' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Total usage' attribute. * @see #setTotal_usage(long) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerCpuUsage_Total_usage() * @model unique="false" * @generated */ long getTotal_usage(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerCpuUsage#getTotal_usage Total usage}' attribute. * * * @param value the new value of the 'Total usage' attribute. * @see #getTotal_usage() * @generated */ void setTotal_usage(long value); /** * Returns the value of the 'User in kernelmode' attribute. * *

* If the meaning of the 'User in kernelmode' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'User in kernelmode' attribute. * @see #setUser_in_kernelmode(long) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerCpuUsage_User_in_kernelmode() * @model unique="false" * @generated */ long getUser_in_kernelmode(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerCpuUsage#getUser_in_kernelmode User in kernelmode}' attribute. * * * @param value the new value of the 'User in kernelmode' attribute. * @see #getUser_in_kernelmode() * @generated */ void setUser_in_kernelmode(long value); } // ContainerCpuUsage