src/main/java/com/linecorp/armeria/client/routing/EndpointGroupRegistry.java
/**
     * Select a endpoint from the target endpoint group.
     */
Select a endpoint from the target endpoint group.
Select a endpoint from the target endpoint group .
public static Endpoint selectNode(String groupName) {
        EndpointSelector endpointSelector = EndpointGroupRegistry.getNodeSelector(groupName);
        if (endpointSelector == null) {
            throw new EndpointGroupException("non-existent EndpointGroup: " + groupName);
        }
        return endpointSelector.select();
    }
public static Endpoint selectNode ( String groupName ) { EndpointSelector endpointSelector = EndpointGroupRegistry . getNodeSelector ( groupName ) ; if ( endpointSelector == null ) { throw new EndpointGroupException ( "non-existent EndpointGroup: " + groupName ) ; } return endpointSelector . select ( ) ; }
Select a endpoint from the target endpoint group.
Select a endpoint from the target endpoint group .