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