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 class
DevicesCore.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()
SubSystemType
getType()
void
setAllow(char type, Device device, int accesses)
void
setDeny(char type, Device device, int accesses)
-
-
-
Constructor Detail
-
DevicesCore
public DevicesCore(String dir)
-
-
Method Detail
-
getType
public SubSystemType getType()
- Specified by:
getType
in 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
-
-