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 CgroupCore
public int getBlkioWeight() throws IOException
IOException
public void setBlkioWeight(int weight) throws IOException
IOException
public void setBlkioWeightDevice(Device device, int weight) throws IOException
IOException
public Map<Device,Integer> getBlkioWeightDevice() throws IOException
IOException
public void setReadBps(Device device, long bps) throws IOException
IOException
public Map<Device,Long> getReadBps() throws IOException
IOException
public void setWriteBps(Device device, long bps) throws IOException
IOException
public Map<Device,Long> getWriteBps() throws IOException
IOException
public void setReadIOps(Device device, long iops) throws IOException
IOException
public Map<Device,Long> getReadIOps() throws IOException
IOException
public void setWriteIOps(Device device, long iops) throws IOException
IOException
public Map<Device,Long> getWriteIOps() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getThrottleIOServiced() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getThrottleIOServiceByte() throws IOException
IOException
public Map<Device,Long> getBlkioTime() throws IOException
IOException
public Map<Device,Long> getBlkioSectors() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiced() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiceBytes() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOServiceTime() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOWaitTime() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOMerged() throws IOException
IOException
public Map<Device,Map<BlkioCore.RecordType,Long>> getIOQueued() throws IOException
IOException
public void resetStats() throws IOException
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.