@Test public void testSuppressAllTriggers() { assertEquals(7, triggers.getResults().size()); triggers.suppressAllTriggers(); assertEquals(0, triggers.getResults().size()); }
@JmxOperation public synchronized void suppressAllTriggers() { suppressBy(trigger -> true); }
Triggers implements ConcurrentJmxBean, Initializable<Triggers> { @JmxOperation public synchronized void suppressAllTriggers() { suppressBy(trigger -> true); } }
Triggers implements ConcurrentJmxBean, Initializable<Triggers> { @JmxOperation public synchronized void suppressAllTriggers() { suppressBy(trigger -> true); } private  Triggers(); }
Triggers implements ConcurrentJmxBean, Initializable<Triggers> { @JmxOperation public synchronized void suppressAllTriggers() { suppressBy(trigger -> true); } private  Triggers(); static Triggers create(); Triggers withTrigger(Trigger trigger); Triggers withTrigger(Severity severity, String component, String name, Supplier<TriggerResult> triggerFunction); synchronized void addTrigger(Trigger trigger); synchronized void addTrigger(Severity severity, String component, String name, Supplier<TriggerResult> triggerFunction); @JmxAttribute synchronized List<TriggerWithResult> getResultsDebug(); @JmxAttribute synchronized List<TriggerWithResult> getResultsInformation(); @JmxAttribute synchronized List<TriggerWithResult> getResultsWarning(); @JmxAttribute synchronized List<TriggerWithResult> getResultsAverage(); @JmxAttribute synchronized List<TriggerWithResult> getResultsHigh(); @JmxAttribute synchronized List<TriggerWithResult> getResultsDisaster(); @JmxAttribute synchronized List<TriggerWithResult> getResults(); @JmxAttribute synchronized String getMultilineSuppressedResults(); @JmxAttribute String getMultilineResultsDebug(); @JmxAttribute String getMultilineResultsInformation(); @JmxAttribute String getMultilineResultsWarning(); @JmxAttribute String getMultilineResultsAverage(); @JmxAttribute String getMultilineResultsHigh(); @JmxAttribute String getMultilineResultsDisaster(); @JmxAttribute String getMultilineResults(); @JmxAttribute @Nullable synchronized Severity getMaxSeverity(); @JmxAttribute @Nullable synchronized String getMaxSeverityResult(); @JmxAttribute synchronized List<String> getTriggers(); @JmxAttribute synchronized List<String> getTriggerNames(); @JmxAttribute synchronized String getTriggerComponents(); @JmxOperation synchronized void suppressAllTriggers(); @JmxOperation synchronized void suppressTriggerByName(String name); @JmxOperation synchronized void suppressTriggerByComponent(String component); @JmxOperation synchronized void suppressTriggerBySeverity(String severity); @JmxOperation synchronized void suppressTriggersBySignature(String signature); @Override String toString(); }
Triggers implements ConcurrentJmxBean, Initializable<Triggers> { @JmxOperation public synchronized void suppressAllTriggers() { suppressBy(trigger -> true); } private  Triggers(); static Triggers create(); Triggers withTrigger(Trigger trigger); Triggers withTrigger(Severity severity, String component, String name, Supplier<TriggerResult> triggerFunction); synchronized void addTrigger(Trigger trigger); synchronized void addTrigger(Severity severity, String component, String name, Supplier<TriggerResult> triggerFunction); @JmxAttribute synchronized List<TriggerWithResult> getResultsDebug(); @JmxAttribute synchronized List<TriggerWithResult> getResultsInformation(); @JmxAttribute synchronized List<TriggerWithResult> getResultsWarning(); @JmxAttribute synchronized List<TriggerWithResult> getResultsAverage(); @JmxAttribute synchronized List<TriggerWithResult> getResultsHigh(); @JmxAttribute synchronized List<TriggerWithResult> getResultsDisaster(); @JmxAttribute synchronized List<TriggerWithResult> getResults(); @JmxAttribute synchronized String getMultilineSuppressedResults(); @JmxAttribute String getMultilineResultsDebug(); @JmxAttribute String getMultilineResultsInformation(); @JmxAttribute String getMultilineResultsWarning(); @JmxAttribute String getMultilineResultsAverage(); @JmxAttribute String getMultilineResultsHigh(); @JmxAttribute String getMultilineResultsDisaster(); @JmxAttribute String getMultilineResults(); @JmxAttribute @Nullable synchronized Severity getMaxSeverity(); @JmxAttribute @Nullable synchronized String getMaxSeverityResult(); @JmxAttribute synchronized List<String> getTriggers(); @JmxAttribute synchronized List<String> getTriggerNames(); @JmxAttribute synchronized String getTriggerComponents(); @JmxOperation synchronized void suppressAllTriggers(); @JmxOperation synchronized void suppressTriggerByName(String name); @JmxOperation synchronized void suppressTriggerByComponent(String component); @JmxOperation synchronized void suppressTriggerBySeverity(String severity); @JmxOperation synchronized void suppressTriggersBySignature(String signature); @Override String toString(); static final Duration CACHE_TIMEOUT; }