public class NetPrioCore extends Object implements CgroupCore
| Modifier and Type | Field and Description |
|---|---|
static String |
NET_PRIO_IFPRIOMAP |
static String |
NET_PRIO_PRIOIDX |
| Constructor and Description |
|---|
NetPrioCore(String dir) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Integer> |
getIfPrioMap() |
int |
getPrioId() |
SubSystemType |
getType() |
void |
setIfPrioMap(String iface,
int priority) |
public static final String NET_PRIO_PRIOIDX
public static final String NET_PRIO_IFPRIOMAP
public NetPrioCore(String dir)
public SubSystemType getType()
getType in interface CgroupCorepublic int getPrioId()
throws IOException
IOExceptionpublic void setIfPrioMap(String iface, int priority) throws IOException
IOExceptionpublic Map<String,Integer> getIfPrioMap() throws IOException
IOExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.