Package com.jibi.controller
Class CpuController
java.lang.Object
com.jibi.controller.CpuController
The type Cpu controller.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcpuAllProcessors(Integer percentage, Integer time) Cpu all processors.voidcpuSingleProcessor(Integer percentage, Integer time) Cpu single processor.
-
Constructor Details
-
CpuController
public CpuController()
-
-
Method Details
-
cpuAllProcessors
@RequestMapping(value="/all/{percentage}/{time}", method=GET) public void cpuAllProcessors(@PathVariable("percentage") Integer percentage, @PathVariable("time") Integer time) Cpu all processors.- Parameters:
percentage- the percentagetime- the time
-
cpuSingleProcessor
@RequestMapping(value="/single/{percentage}/{time}", method=GET) public void cpuSingleProcessor(@PathVariable("percentage") Integer percentage, @PathVariable("time") Integer time) Cpu single processor.- Parameters:
percentage- the percentagetime- the time
-