Class BlkioCore
java.lang.Object
org.apache.storm.container.cgroup.core.BlkioCore
- All Implemented Interfaces:
CgroupCore
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetType()voidvoidsetBlkioWeight(int weight) voidsetBlkioWeightDevice(Device device, int weight) voidsetReadBps(Device device, long bps) voidsetReadIOps(Device device, long iops) voidsetWriteBps(Device device, long bps) voidsetWriteIOps(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:
getTypein 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
-