예제 #1
0
 private ThreadGroupIterator allThreadGroups() throws NoSessionException {
   threads = null;
   return new ThreadGroupIterator(runtime.topLevelThreadGroups());
 }
예제 #2
0
 private ThreadIterator allThreads() throws NoSessionException {
   threads = null;
   // ### Why not use runtime.allThreads().iterator() ?
   return new ThreadIterator(runtime.topLevelThreadGroups());
 }