"A SQL query was terminated after %.2f seconds", TIMEOUT / 1000.0);
private void loadData(Client client, String tb, int scale)
throws NoConnectionsException, IOException, ProcCallException {
ProcedureCallback callback = new ProcedureCallback() {
@Override
public void clientCallback(ClientResponse clientResponse)
throws Exception {
if (clientResponse.getStatus() != ClientResponse.SUCCESS) {
throw new RuntimeException("Failed with response: " + clientResponse.getStatusString());