Class CpuController

java.lang.Object
com.jibi.controller.CpuController

@RestController("Cpu Api") @RequestMapping("/cpu") public class CpuController extends Object
The type Cpu controller.
  • 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 percentage
      time - 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 percentage
      time - the time