lock.get(RECONFIG_LOCK_TIMEOUT_SEC, TimeUnit.SECONDS);
} catch (ExecutionException e) {
throw new IllegalStateException(e);
}
} else {
final FutureImpl future = SafeFutureImpl.create();
if (isLoggingFinest) {
logger.log(Level.FINEST, "Set reconfig lock for ports: {0} and {1}: {2}",
new Object[]{port, proxyPort, future});
}
reconfigByPortLock.put(port, future);