code: public synchronized void clear(ApplicationDefinition appDef) {
          String appName = appDef.getAppName();
          for (TableDefinition tableDef : appDef.getTableDefinitions().values()) {
              m_cacheMap.remove(appName + "/" + tableDef.getTableName()); // might have no entry
          }
          m_appShardMap.remove(appName);
      }
docs: Clear all cached shard information for the given application.
  
  @param appDef    {@link ApplicationDefinition} of an application.