类 GatewayStatController

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>

    @RestController
    @RequestMapping("/gateway/stat")
    public class GatewayStatController
    extends BaseController
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
    • 构造器详细资料

      • GatewayStatController

        public GatewayStatController()
    • 方法详细资料

      • threadDump

        @GetMapping("/thread/dump")
        public String threadDump()
      • reqActive

        @GetMapping("/req/active")
        public GatewayResponse reqActive()
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.ApplicationStartedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>