@Override
    public List<Endpoint> endpoints() {
        final List<Endpoint> endpoints = merged.get();
        assert endpoints != null;
        return endpoints;
    }
Constructs a new {@link CompositeEndpointGroup} that merges all the given {@code endpointGroups}.
core/src/main/java/com/linecorp/armeria/client/endpoint/CompositeEndpointGroup.java