static void runWithWaitingForSchemas( RunnableCheckedException<TException> task, CassandraKeyValueServiceConfig config, CassandraClient client, String unsafeSchemaChangeDescription) throws TException { waitForSchemaVersions(config, client, "before " + unsafeSchemaChangeDescription); task.run(); waitForSchemaVersions(config, client, "after " + unsafeSchemaChangeDescription); }
static void runWithWaitingForSchemas( RunnableCheckedException<TException> task, CassandraKeyValueServiceConfig config, CassandraClient client, String unsafeSchemaChangeDescription) throws TException { waitForSchemaVersions(config, client, "before " + unsafeSchemaChangeDescription); task.run(); waitForSchemaVersions(config, client, "after " + unsafeSchemaChangeDescription); }