altmind
12/28/2017, 1:44 PMpublic fun <T> tryUntilOk(maxRetries: Long = 10, timeoutMs: Long = 0, r: Callable<T>): T? { ... }
val json = ExecutionUtil.tryUntilOk<JsonNode>(maxRetries = 5, timeoutMs = 1000) { ->
getServerList(config);
};