@Override
public void onSet(Connection connection, Message.Response response, ExecutionInfo info, long latency) {
try {
switch (response.type) {
case RESULT:
ResultMessage rm = (ResultMessage)response;
switch (rm.kind) {
case SET_KEYSPACE:
// propagate the keyspace change to other connections
session.poolsState.setKeyspace(((ResultMessage.SetKeyspace)rm).keyspace);
set(ArrayBackedResultSet.fromMessage(rm, session, info));