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 CgroupCore
public int getPrioId() throws IOException
IOException
public void setIfPrioMap(String iface, int priority) throws IOException
IOException
public Map<String,Integer> getIfPrioMap() throws IOException
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.