private MemoryManager getMemoryManager(int index, String... names) {
    if (index >= names.length) {
      return this;
    }
    MemoryManager memoryManager = children.get(names[index]);
    if (memoryManager != null) {
      return memoryManager.getMemoryManager(index + 1, names);
    } else {
      return null;
    }
  }
Get the memory manager with specified names in levels

@param index the index of names
@param names the names of memory manager in levels
@return the memory manager if find it, otherwise null
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryManager.java