mardi 18 juillet 2017

How to implement a custom clock in Hazelcast for unit testing?

When testing some of my code with custom expiry durations, I needed to set the clock time in an Hazelcast instance, very much like how I could set the time using a custom Ticker in Caffeine caches.

I found that this isn't documented anywhere and there isn't any questions on it.

Aucun commentaire:

Enregistrer un commentaire