Class DevicesCore
- java.lang.Object
-
- org.apache.storm.container.cgroup.core.DevicesCore
-
- All Implemented Interfaces:
CgroupCore
public class DevicesCore extends Object implements CgroupCore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevicesCore.Record
-
Constructor Summary
Constructors Constructor Description DevicesCore(String dir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DevicesCore.Record[]getList()SubSystemTypegetType()voidsetAllow(char type, Device device, int accesses)voidsetDeny(char type, Device device, int accesses)
-
-
-
Constructor Detail
-
DevicesCore
public DevicesCore(String dir)
-
-
Method Detail
-
getType
public SubSystemType getType()
- Specified by:
getTypein interfaceCgroupCore
-
setAllow
public void setAllow(char type, Device device, int accesses) throws IOException- Throws:
IOException
-
setDeny
public void setDeny(char type, Device device, int accesses) throws IOException- Throws:
IOException
-
getList
public DevicesCore.Record[] getList() throws IOException
- Throws:
IOException
-
-