com.atlassian.cache
Class StatisticMatcher
java.lang.Object
org.hamcrest.BaseMatcher<com.atlassian.util.concurrent.Supplier<Long>>
com.atlassian.cache.StatisticMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<com.atlassian.util.concurrent.Supplier<Long>>, org.hamcrest.SelfDescribing
public class StatisticMatcher
- extends org.hamcrest.BaseMatcher<com.atlassian.util.concurrent.Supplier<Long>>
Hamcrest matcher for statistics that recognizes the fact that they are optional.
- Since:
- v2.4.0
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
stat
public static StatisticMatcher stat(long expectedValue)
matches
public boolean matches(Object o)
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2015 Atlassian. All rights reserved.