Skip to content

Commit

Permalink
#61 show status
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 28, 2018
1 parent a6428cb commit 90be871
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/io/wring/agents/Routine.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,14 @@ public Integer call() throws InterruptedException {
String.join(
"; ",
new Mapped<>(
Thread::getName, Thread.getAllStackTraces().keySet()
thread -> String.format(
"%s/%s/%B/%B",
thread.getName(),
thread.getState(),
thread.isAlive(),
thread.isInterrupted()
),
Thread.getAllStackTraces().keySet()
)
)
)
Expand Down

0 comments on commit 90be871

Please sign in to comment.