public class NewPercCPUPolicy extends java.lang.Object implements NewSchedulerPolicyInterface
| Constructor and Description |
|---|
NewPercCPUPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRestriction(SchedulerPolicyRestriction restriction) |
java.util.Map.Entry<csbase.logic.CommandInfo,java.util.List<csbase.logic.SGASet>> |
getAllocation() |
void |
init(java.util.List<csbase.logic.CommandInfo> cmds,
java.util.List<csbase.logic.SGASet> sgas) |
void |
notifySucessfulAllocation(csbase.logic.CommandInfo cmd,
csbase.logic.SGASet server) |
void |
removeCommand(csbase.logic.CommandInfo cmd) |
public void init(java.util.List<csbase.logic.CommandInfo> cmds,
java.util.List<csbase.logic.SGASet> sgas)
init in interface NewSchedulerPolicyInterfacepublic java.util.Map.Entry<csbase.logic.CommandInfo,java.util.List<csbase.logic.SGASet>> getAllocation()
getAllocation in interface NewSchedulerPolicyInterfacepublic void addRestriction(SchedulerPolicyRestriction restriction)
addRestriction in interface NewSchedulerPolicyInterfacepublic void removeCommand(csbase.logic.CommandInfo cmd)
removeCommand in interface NewSchedulerPolicyInterfacepublic void notifySucessfulAllocation(csbase.logic.CommandInfo cmd,
csbase.logic.SGASet server)
notifySucessfulAllocation in interface NewSchedulerPolicyInterfaceCopyright © 2016. All Rights Reserved.