momentohq / client-sdk-java

Official Java SDK for Momento Serverless Cache
Apache License 2.0
13 stars 5 forks source link

chore: Generify the scalar cache functions #389

Closed nand4011 closed 2 months ago

nand4011 commented 2 months ago

Create a batch version of the existing generic execute grpc function and move setBatch and getBatch to it.

Switch the rest of the scalar calls to use the existing generic grpc execution function. This provides a single point where we can do things like limit concurrent calls.