I have a Java method that gets a value from a database table cell.
Let's name it jdbcTemplate.queryForObject()
I want to run this method once per 2 minutes until the value of the cell becomes true.
Is it possible to achieve this using CompletableFuture?