Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
One way would be either to add some methods to the Resolver such as:
boolean resolve(long timeout)
void cancel();
I'd be much happier if we could use a Future instead.
Future<Boolean> resolve();
This would make it easier for the user because he doesn't have to start a thread on its own.
However this breaks compatibility.
We could therefore use something like:
Future<Boolean> startResolve();