Class MemoryController


  • @Controller
    public class MemoryController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String memory​(org.springframework.ui.Model model)  
      java.util.Map<java.lang.String,​java.lang.Long> memoryData()  
      java.util.Map<java.lang.String,​java.lang.Long> memoryGC()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoryController

        public MemoryController()
    • Method Detail

      • memory

        @RequestMapping(value="/monitoring/memory",
                        method=GET)
        public java.lang.String memory​(org.springframework.ui.Model model)
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • memoryData

        @RequestMapping(value="/monitoring/memory/data",
                        method=GET,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.Map<java.lang.String,​java.lang.Long> memoryData()
      • memoryGC

        @RequestMapping(value="/monitoring/memory/gc",
                        method=POST,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.Map<java.lang.String,​java.lang.Long> memoryGC()
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException