public NamespaceTableAndRegionInfo getState(String name) {
    return nsStateCache.get(name);
  }
Gets an instance of NamespaceTableAndRegionInfo associated with namespace.
@param name The name of the namespace
@return An instance of NamespaceTableAndRegionInfo.
hbase-server/src/main/java/org/apache/hadoop/hbase/namespace/NamespaceStateManager.java