// wait until org.apache.cassandra.internal:type=FlushWriter / PendingTasks == 0
while (valueObject > 0 && maxTries-- > 0) {
Thread.sleep(sleepMillis);
valueObject = (Long) attribute.refresh();
}
flushWriterBean.unload();
}
private PropertyMap toPropertyMap(OpResult opResult) {
PropertyMap map = new PropertyMap("resultsMap");
map.put(new PropertySimple("task", opResult.operation));