public class BlkioCore extends Object implements CgroupCore
| Modifier and Type | Class and Description |
|---|---|
static class |
BlkioCore.RecordType |
| Modifier and Type | Field and Description |
|---|---|
static String |
BLKIO_IO_MERGED |
static String |
BLKIO_IO_QUEUED |
static String |
BLKIO_IO_SERVICE_BYTES |
static String |
BLKIO_IO_SERVICE_TIME |
static String |
BLKIO_IO_SERVICED |
static String |
BLKIO_IO_WAIT_TIME |
static String |
BLKIO_RESET_STATS |
static String |
BLKIO_SECTORS |
static String |
BLKIO_THROTTLE_IO_SERVICE_BYTES |
static String |
BLKIO_THROTTLE_IO_SERVICED |
static String |
BLKIO_THROTTLE_READ_BPS_DEVICE |
static String |
BLKIO_THROTTLE_READ_IOPS_DEVICE |
static String |
BLKIO_THROTTLE_WRITE_BPS_DEVICE |
static String |
BLKIO_THROTTLE_WRITE_IOPS_DEVICE |
static String |
BLKIO_TIME |
static String |
BLKIO_WEIGHT |
static String |
BLKIO_WEIGHT_DEVICE |
public static final String BLKIO_WEIGHT
public static final String BLKIO_WEIGHT_DEVICE
public static final String BLKIO_RESET_STATS
public static final String BLKIO_THROTTLE_READ_BPS_DEVICE
public static final String BLKIO_THROTTLE_WRITE_BPS_DEVICE
public static final String BLKIO_THROTTLE_READ_IOPS_DEVICE
public static final String BLKIO_THROTTLE_WRITE_IOPS_DEVICE
public static final String BLKIO_THROTTLE_IO_SERVICED
public static final String BLKIO_THROTTLE_IO_SERVICE_BYTES
public static final String BLKIO_TIME
public static final String BLKIO_SECTORS
public static final String BLKIO_IO_SERVICED
public static final String BLKIO_IO_SERVICE_BYTES
public static final String BLKIO_IO_SERVICE_TIME
public static final String BLKIO_IO_WAIT_TIME
public static final String BLKIO_IO_MERGED
public static final String BLKIO_IO_QUEUED
public BlkioCore(String dir)
public SubSystemType getType()
getType in interface CgroupCorepublic int getBlkioWeight()
throws IOException
IOExceptionpublic void setBlkioWeight(int weight)
throws IOException
IOExceptionpublic void setBlkioWeightDevice(Device device, int weight) throws IOException
IOExceptionpublic Map<Device,Integer> getBlkioWeightDevice() throws IOException
IOExceptionpublic void setReadBps(Device device, long bps) throws IOException
IOExceptionpublic Map<Device,Long> getReadBps() throws IOException
IOExceptionpublic void setWriteBps(Device device, long bps) throws IOException
IOExceptionpublic Map<Device,Long> getWriteBps() throws IOException
IOExceptionpublic void setReadIOps(Device device, long iops) throws IOException
IOExceptionpublic Map<Device,Long> getReadIOps() throws IOException
IOExceptionpublic void setWriteIOps(Device device, long iops) throws IOException
IOExceptionpublic Map<Device,Long> getWriteIOps() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getThrottleIOServiced() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getThrottleIOServiceByte() throws IOException
IOExceptionpublic Map<Device,Long> getBlkioTime() throws IOException
IOExceptionpublic Map<Device,Long> getBlkioSectors() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiced() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiceBytes() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiceTime() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOWaitTime() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOMerged() throws IOException
IOExceptionpublic Map<Device,Map<BlkioCore.RecordType,Long>> getIOQueued() throws IOException
IOExceptionpublic void resetStats()
throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.