org.springframework.boot.actuate.management.ThreadDumpEndpoint源码实例Demo

类org.springframework.boot.actuate.management.ThreadDumpEndpoint源码实例Demo

下面列出了org.springframework.boot.actuate.management.ThreadDumpEndpoint 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: ssh-shell-spring-boot   文件: ActuatorCommand.java
public ActuatorCommand(ApplicationContext applicationContext, Environment environment,
                       SshShellProperties properties, SshShellHelper helper,
                       @Lazy AuditEventsEndpoint audit, @Lazy BeansEndpoint beans,
                       @Lazy ConditionsReportEndpoint conditions,
                       @Lazy ConfigurationPropertiesReportEndpoint configprops, @Lazy EnvironmentEndpoint env,
                       @Lazy HealthEndpoint health,
                       @Lazy HttpTraceEndpoint httptrace, @Lazy InfoEndpoint info, @Lazy LoggersEndpoint loggers,
                       @Lazy MetricsEndpoint metrics,
                       @Lazy MappingsEndpoint mappings, @Lazy ScheduledTasksEndpoint scheduledtasks,
                       @Lazy ShutdownEndpoint shutdown,
                       @Lazy ThreadDumpEndpoint threaddump) {
    this.applicationContext = applicationContext;
    this.environment = environment;
    this.properties = properties;
    this.helper = helper;
    this.audit = audit;
    this.beans = beans;
    this.conditions = conditions;
    this.configprops = configprops;
    this.env = env;
    this.health = health;
    this.httptrace = httptrace;
    this.info = info;
    this.loggers = loggers;
    this.metrics = metrics;
    this.mappings = mappings;
    this.scheduledtasks = scheduledtasks;
    this.shutdown = shutdown;
    this.threaddump = threaddump;
}
 
源代码2 项目: ssh-shell-spring-boot   文件: ActuatorCommand.java
/**
 * Thread dump method
 *
 * @return threaddump
 */
@ShellMethod(key = "threaddump", value = "Display threaddump endpoint.")
@ShellMethodAvailability("threaddumpAvailability")
public ThreadDumpEndpoint.ThreadDumpDescriptor threaddump() {
    return threaddump.threadDump();
}
 
源代码3 项目: ssh-shell-spring-boot   文件: ActuatorCommand.java
/**
 * @return whether `threaddump` command is available
 */
public Availability threaddumpAvailability() {
    return availability("threaddump", ThreadDumpEndpoint.class);
}
 
ThreadDumpCommand(@Value("${sshd.system.command.roles.threadDump}") String[] systemRoles,
        ThreadDumpEndpoint threadDumpEndpoint) {
    super(systemRoles);
    this.threadDumpEndpoint = threadDumpEndpoint;
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法