Search in sources :

Example 1 with QueryPredicate

use of org.nustaq.reallive.impl.QueryPredicate in project kontraktor by RuedigerMoeller.

the class ChangeStream method subscribeOn.

@CallerSideMethod
default Subscriber subscribeOn(String query, ChangeReceiver receiver) throws QParseException {
    Subscriber subs = new Subscriber(new QueryPredicate(query), receiver);
    this.subscribe(subs);
    return subs;
}
Also used : QueryPredicate(org.nustaq.reallive.impl.QueryPredicate) CallerSideMethod(org.nustaq.kontraktor.annotations.CallerSideMethod)

Aggregations

CallerSideMethod (org.nustaq.kontraktor.annotations.CallerSideMethod)1 QueryPredicate (org.nustaq.reallive.impl.QueryPredicate)1