public boolean isServerContainingCluster ( final String server , String cluster ) { if ( cluster == null ) cluster = ALL_WILDCARD ; final List < String > serverList = getClusterConfiguration ( cluster ) . field ( SERVERS ) ; if ( serverList != null ) { return serverList . contains ( server ) ; } return true ; }
Returns true if the local server has the requested cluster .