src/main/java/com/github/ddth/cql/internal/ClusterIdentifier.java
public static ClusterIdentifier getInstance(String hostsAndPorts, String username,
            String password, String authorizationId) {
        String[] key = { hostsAndPorts, username, password, authorizationId };
        try {
            return cache.get(key);
        } catch (ExecutionException e) {
            throw new RuntimeException(e);
        }
    }
public static ClusterIdentifier getInstance(String hostsAndPorts, String username,
            String password, String authorizationId) {
        String[] key = { hostsAndPorts, username, password, authorizationId };
        try {
            return cache.get(key);
        } catch (ExecutionException e) {
            throw new RuntimeException(e);
        }
    }
public static ClusterIdentifier getInstance ( String hostsAndPorts , String username , String password , String authorizationId ) { String [ ] key = { hostsAndPorts , username , password , authorizationId } ; try { return cache . get ( key ) ; } catch ( ExecutionException e ) { throw new RuntimeException ( e ) ; } }
Helper method to get an instance of {@link ClusterIdentifier}.

@param hostsAndPorts
example {@code "localhost:9042,host2,host3:19042"}
@param username
username to authenticate against Cassandra cluster
@param password
password to authenticate against Cassandra cluster
@param authorizationId
DSE's proxied user/role id (used with DSE only)
@return
Helper method to get an instance of { @link ClusterIdentifier } .