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 CgroupCore
public void setAllow(char type, Device device, int accesses) throws IOException
IOException
public void setDeny(char type, Device device, int accesses) throws IOException
IOException
public DevicesCore.Record[] getList() throws IOException
IOException
Copyright © 2022 The Apache Software Foundation. All rights reserved.