Converter based on a Timer which will create a task which will check every
checkFrequency if the java future is completed, the threading model is the one
used by the specified timer which is often a thread pool of size 1.
To favor if there are a lot of futures to convert and one cares less about the latency induced
by checkFrequency.
checkFrequency needs to be a multiple of the timer implementation's granularity
which is often 1ms.
Converter based on a Timer which will create a task which will check every
checkFrequency
if the java future is completed, the threading model is the one used by the specifiedtimer
which is often a thread pool of size 1. To favor if there are a lot of futures to convert and one cares less about the latency induced bycheckFrequency
.checkFrequency
needs to be a multiple of the timer implementation's granularity which is often 1ms.