-
1. Re: Async query DSL
wdfink Dec 31, 2013 7:01 AM (in response to furic)Could you be a bit more specific and explain the use-case and what you try to achieve?
-
2. Re: Async query DSL
furic Dec 31, 2013 10:24 AM (in response to wdfink)There is async version of put and get Cache methods, I'm after the same functionality for DSL query list() method, something like this :
Future<PartialQueryResult<String>> futureResult = query.listAsync() ;
futureResult.subscribe(new Callback(){
public void onResult(PartialQueryResult<String> result){
}
})
class <T> PartialQueryResult{
List<T> list();
boolean isLast
}
-
3. Re: Async query DSL
sannegrinovero Jan 7, 2014 2:41 PM (in response to furic)Hi Alexander,
we call that "continuous queries" and while it's not available now we expect to make such a feature for Infinispan 7.
Current master matches Infinispan 7, so it would be a great time to join the developer mailing list, and suggest either patches or just participate in the brainstorming around this subject.