public class DevicesCore extends Object implements CgroupCore
| Modifier and Type | Class and Description |
|---|---|
static class |
DevicesCore.Record |
| Constructor and Description |
|---|
DevicesCore(String dir) |
| Modifier and Type | Method and Description |
|---|---|
DevicesCore.Record[] |
getList() |
SubSystemType |
getType() |
void |
setAllow(char type,
Device device,
int accesses) |
void |
setDeny(char type,
Device device,
int accesses) |
public DevicesCore(String dir)
public SubSystemType getType()
getType in interface CgroupCorepublic void setAllow(char type,
Device device,
int accesses)
throws IOException
IOExceptionpublic void setDeny(char type,
Device device,
int accesses)
throws IOException
IOExceptionpublic DevicesCore.Record[] getList() throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.