public Long untilAtomic(final AtomicLong atomic, final Matcher<? super Long> matcher) {
        return until(new CallableHamcrestCondition<Long>(new Callable<Long>() {
            public Long call() {
                return atomic.get();
            }
        }, matcher, generateConditionSettings()));
    }
public Long untilAtomic(final AtomicLong atomic, final Matcher<? super Long> matcher) {
        return until(new CallableHamcrestCondition<Long>(new Callable<Long>() {
            public Long call() {
                return atomic.get();
            }
        }, matcher, generateConditionSettings()));
    }
public Long untilAtomic ( final AtomicLong atomic , final Matcher < ? super Long > matcher ) { return until ( new CallableHamcrestCondition < Long > ( new Callable < Long > ( ) { public Long call ( ) { return atomic . get ( ) ; } } , matcher , generateConditionSettings ( ) ) ) ; }
Await until a Atomic variable has a value matching the specified
{@link org.hamcrest.Matcher}. E.g.
<p>&nbsp;</p>
<pre>
await().untilAtomic(myAtomic, is(greaterThan(2)));
</pre>

@param atomic  the atomic variable
@param matcher the matcher The hamcrest matcher that checks whether the
condition is fulfilled.
@return a {@link java.lang.Long} object.
@throws org.awaitility.core.ConditionTimeoutException If condition was not fulfilled within the given time period.
Await until a Atomic variable has a value matching the specified { @link org . hamcrest . Matcher } . E . g . <p > &nbsp ; < / p > <pre > await () . untilAtomic ( myAtomic is ( greaterThan ( 2 ))) ; < / pre >