return new OperationResult();
}
public OperationResult compactKeyspace(String... columnFamilies) {
KeyspaceService keyspaceService = new KeyspaceService(getEmsConnection());
String keyspace = context.getResourceKey();
if (columnFamilies == null) {
columnFamilies = new String[] {};
}
log.info("Executing compaction on keyspace [" + keyspace + "]");
long start = System.currentTimeMillis();
keyspaceService.compact(keyspace, columnFamilies);
long end = System.currentTimeMillis();
log.info("Finished compaction on keysapce [" + keyspace + "] in " + (end - start) + " ms");
return new OperationResult();
}