public static void dropAllConnections(Class tClass) {
    LOG.info("removing all {} " ,tClass.getName());
    Map<String, Object> instances = viewSingletonObjects.get(tClass);
    if (instances != null) {
      instances.clear();
    }
  }
Method for testing purposes, intended to clear the cached user-local instances.
Method should not normally be called from production code.
@param tClass classname instances of which should be dropped
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/UserLocal.java