[infinispan-dev] Infinispan Query API simplification

Tristan Tarrant ttarrant at redhat.com
Thu Apr 20 10:06:39 EDT 2017


On 20/04/2017 15:34, Dan Berindei wrote:
>> How big is the DSL API surface (which will be brought into commons)?
> 
> -1 from me to add anything in commons, I don't think allowing the
> users to query both embedded caches and remote caches with the same
> code is that important. I'd rather go the opposite way and remove the
> BasicCache interface completely.

Actually, we've had requests for interchangeable APIs...

So, according to your strategy we either have each feature implemented 
with a divergent specific embedded or remote API, or each feature has 
its own feature-api with two separate feature-embedded and 
feature-remote implementations. Both plans sound terrible.

Alternatively, we could go with an infinispan-api package (which Paul 
has been advocating for a long time) which would contain the various 
interfaces.

Tristan

-- 
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat


More information about the infinispan-dev mailing list