code: public Map<Sha256Hash, StoredServerChannel> getChannelMap() {
          lock.lock();
          try {
              return ImmutableMap.copyOf(mapChannels);
          } finally {
              lock.unlock();
          }
      }
docs: Get a copy of all {@link StoredServerChannel}s