Jonathan Halterman

Results 180 comments of Jonathan Halterman

Which compiler / JDK are you using? This compiles fine for me on JDK 8.

@expiringmapuser Do you have some code you can share that reproduces this?

This seems worth doing, but I'm not available atm. I'd be happy to take a PR for this though. We could make the expirer (threadpool) configurable in the builder, where...

No worries @qualidafial - hope it's working well for you 👍(random aside, I've used JDBI a lot in the past and really enjoy it).

ExpiringMap always wants to expire things, thus the name :) The best you can do is set expiration to be something very far off: such as `Integer.MAX_VALUE` `TimeUnit.DAYS`.

Is your use case trying to mix things that should never expire with things that do in the same map? Currently there's no way to indicate that an entry should...

Sure this could be configurable. I'm curious if you've actually hit a situation where the expiration thread, in particular, is unable to keep up with expirations. Has that happened? Any...

Thanks for the use case. I don't think it will be quite as straightforward as throwing more threads at it since there will be some lock contention when attempting to...

Another option is we could use a fixed thread pool instead of cached. That opens up the potential for new problems... but what do you think?