public class CacheMetricsMatcher extends org.hamcrest.TypeSafeDiagnosingMatcher<Map<MetricLabel,? extends LongMetric>>
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<Map<MetricLabel,? extends LongMetric>> |
hasMetric(MetricLabel label,
org.hamcrest.Matcher<Long> countMatcher,
org.hamcrest.Matcher<Long> totalMatcher) |
static org.hamcrest.Matcher<Map<MetricLabel,? extends LongMetric>> |
hasSize(org.hamcrest.Matcher<Integer> sizeMatcher) |
protected boolean |
matchesSafely(Map<MetricLabel,? extends LongMetric> metricsMap,
org.hamcrest.Description description) |
public void describeTo(org.hamcrest.Description description)
protected boolean matchesSafely(Map<MetricLabel,? extends LongMetric> metricsMap, org.hamcrest.Description description)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<Map<MetricLabel,? extends LongMetric>>public static org.hamcrest.Matcher<Map<MetricLabel,? extends LongMetric>> hasMetric(MetricLabel label, org.hamcrest.Matcher<Long> countMatcher, org.hamcrest.Matcher<Long> totalMatcher)
public static org.hamcrest.Matcher<Map<MetricLabel,? extends LongMetric>> hasSize(org.hamcrest.Matcher<Integer> sizeMatcher)
Copyright © 2019 Atlassian. All rights reserved.