code: public List<String> getHeapsForSession(IoSession session) {
          List<String> ret = new ArrayList<String>();
          try {
              subTermLock.lock();
              Multiset<String> s = heapsByClient.get(session);
              if (s != null) {
                  ret.addAll(s.keySet());
              }
          } finally {
              subTermLock.unlock();
          }
          return ret;
      }
docs: used for monitoring