docs: public void invalidateByTemplate(String template, boolean waitOnInvalidation, DCache cache) {
          synchronized (this) {
              BatchUpdateList bul = getUpdateList(cache);
              bul.invalidateByTemplateEvents.put(template, new InvalidateByTemplateEvent(template, CachePerf.LOCAL));
          }
          if (waitOnInvalidation) {
              wakeUp(0, 0);
          }
      }