[infinispan-dev] Infinispan Query API simplification

Adrian Nistor anistor at redhat.com
Thu Apr 20 12:50:04 EDT 2017


+1 for interchangeable apis
+1 for infinispan-api module

On 04/20/2017 05:06 PM, Tristan Tarrant wrote:
> 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
>



More information about the infinispan-dev mailing list