Mercurial > hg > blitz_stable
comparison src/org/dancres/blitz/stats/ThreadStat.java @ 35:6f68e94c1fb8 default tip
Add CondensedStats monitoring utility, equivalent to vmstat
author | Dominic Cleal <dominic-cleal@cdo2.com> |
---|---|
date | Thu, 05 Aug 2010 11:07:25 +0100 |
parents | 3dc0c5604566 |
children |
comparison
equal
deleted
inserted
replaced
34:0b9265358617 | 35:6f68e94c1fb8 |
---|---|
31 } | 31 } |
32 | 32 |
33 return new ThreadStat(theId, myActiveCount); | 33 return new ThreadStat(theId, myActiveCount); |
34 } | 34 } |
35 | 35 |
36 public int getThreadCount() { | |
37 return theThreadCount; | |
38 } | |
39 | |
36 public String toString() { | 40 public String toString() { |
37 return "Thread count: " + theThreadCount; | 41 return "Thread count: " + theThreadCount; |
38 } | 42 } |
39 } | 43 } |