private void withUpdateLock(long updateId, Runnable task) {
        updateLock.lock();
        try {
            if (this.updateId != updateId) {
                // The current update is outdated.
                return;
            }
            task.run();
        } finally {
            updateLock.unlock();
        }
    }
Fetches the internal IPs of the node.
kubernetes/src/main/java/com/linecorp/armeria/client/kubernetes/endpoints/KubernetesEndpointGroup.java