Ok so I figured out the issue. I'm getting a class cast Exception. The cache in the application is declared as <String, Integer> when I use the REST API to put a value. I guess it changes the value to String and my application catches the error. Well it's actually swallowing the error but I can fix that.
My question now would be, if using the HTTP REST Api, can we specify the type of the value when doing a put? On Fri, Sep 29, 2023 at 1:29 PM John Smith <java.dev....@gmail.com> wrote: > Hi, running 2.12 > > When I use the put command like so: > http://xxxxxx/ignite?cmd=put&cacheName=carrier-ids-for-phones&key=15149838779&val=10009&exp=60001 > > Then I call the Java get async function, it seems to block and doesn't > return. > > If I use this command: > http://xxxxxx/ignite?cmd=put&cacheName=carrier-ids-for-phones&key=15149838779&val=10009&exp=60001 > > The java async Api blocks, but once the record is expired, the java async > Api returns. >