Class BlkioCore
java.lang.Object
org.apache.storm.container.cgroup.core.BlkioCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getType()
void
void
setBlkioWeight
(int weight) void
setBlkioWeightDevice
(Device device, int weight) void
setReadBps
(Device device, long bps) void
setReadIOps
(Device device, long iops) void
setWriteBps
(Device device, long bps) void
setWriteIOps
(Device device, long iops)
-
Field Details
-
BLKIO_WEIGHT
- See Also:
-
BLKIO_WEIGHT_DEVICE
- See Also:
-
BLKIO_RESET_STATS
- See Also:
-
BLKIO_THROTTLE_READ_BPS_DEVICE
- See Also:
-
BLKIO_THROTTLE_WRITE_BPS_DEVICE
- See Also:
-
BLKIO_THROTTLE_READ_IOPS_DEVICE
- See Also:
-
BLKIO_THROTTLE_WRITE_IOPS_DEVICE
- See Also:
-
BLKIO_THROTTLE_IO_SERVICED
- See Also:
-
BLKIO_THROTTLE_IO_SERVICE_BYTES
- See Also:
-
BLKIO_TIME
- See Also:
-
BLKIO_SECTORS
- See Also:
-
BLKIO_IO_SERVICED
- See Also:
-
BLKIO_IO_SERVICE_BYTES
- See Also:
-
BLKIO_IO_SERVICE_TIME
- See Also:
-
BLKIO_IO_WAIT_TIME
- See Also:
-
BLKIO_IO_MERGED
- See Also:
-
BLKIO_IO_QUEUED
- See Also:
-
-
Constructor Details
-
BlkioCore
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceCgroupCore
-
getBlkioWeight
- Throws:
IOException
-
setBlkioWeight
- Throws:
IOException
-
setBlkioWeightDevice
- Throws:
IOException
-
getBlkioWeightDevice
- Throws:
IOException
-
setReadBps
- Throws:
IOException
-
getReadBps
- Throws:
IOException
-
setWriteBps
- Throws:
IOException
-
getWriteBps
- Throws:
IOException
-
setReadIOps
- Throws:
IOException
-
getReadIOps
- Throws:
IOException
-
setWriteIOps
- Throws:
IOException
-
getWriteIOps
- Throws:
IOException
-
getThrottleIOServiced
- Throws:
IOException
-
getThrottleIOServiceByte
- Throws:
IOException
-
getBlkioTime
- Throws:
IOException
-
getBlkioSectors
- Throws:
IOException
-
getIOServiced
- Throws:
IOException
-
getIOServiceBytes
- Throws:
IOException
-
getIOServiceTime
- Throws:
IOException
-
getIOWaitTime
- Throws:
IOException
-
getIOMerged
- Throws:
IOException
-
getIOQueued
- Throws:
IOException
-
resetStats
- Throws:
IOException
-