public class ContainerCpuUsage extends Object
| Constructor and Description |
|---|
ContainerCpuUsage() |
| Modifier and Type | Method and Description |
|---|---|
Long |
kernelModeUsage()
Get the kernelModeUsage value.
|
List<Long> |
perCpuUsage()
Get the perCpuUsage value.
|
Long |
totalUsage()
Get the totalUsage value.
|
Long |
userModeUsage()
Get the userModeUsage value.
|
ContainerCpuUsage |
withKernelModeUsage(Long kernelModeUsage)
Set the kernelModeUsage value.
|
ContainerCpuUsage |
withPerCpuUsage(List<Long> perCpuUsage)
Set the perCpuUsage value.
|
ContainerCpuUsage |
withTotalUsage(Long totalUsage)
Set the totalUsage value.
|
ContainerCpuUsage |
withUserModeUsage(Long userModeUsage)
Set the userModeUsage value.
|
public Long totalUsage()
public ContainerCpuUsage withTotalUsage(Long totalUsage)
totalUsage - the totalUsage value to setpublic List<Long> perCpuUsage()
public ContainerCpuUsage withPerCpuUsage(List<Long> perCpuUsage)
perCpuUsage - the perCpuUsage value to setpublic Long kernelModeUsage()
public ContainerCpuUsage withKernelModeUsage(Long kernelModeUsage)
kernelModeUsage - the kernelModeUsage value to setpublic Long userModeUsage()
public ContainerCpuUsage withUserModeUsage(Long userModeUsage)
userModeUsage - the userModeUsage value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/