public void clearCache() { if (entities != null) { for (Entity entity : entities) entity.clearCache(); } try { processor.close(); } catch (Exception e) { /*no op*/ } processor = null; if (dataSrc != null) dataSrc.close(); dataSrc = null; }
public void clearCaches() { for (Entity entity : document.entities) entity.clearCache(); }