6061626364656667686970
for (String host : endpoints) { try { CClient c = CClient.getClient(host, port); new Schema(c).createKeyspace(); c.socket.close(); break; } catch (Exception unlucky) {