setCurrentCompactedKVs(other.getCurrentCompactedKVs());
hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
result = result && (getCurrentCompactedKVs() == other.getCurrentCompactedKVs());
result = result && (getCurrentCompactedKVs() == other.getCurrentCompactedKVs());
result = result && (getCurrentCompactedKVs() == other.getCurrentCompactedKVs());
result = result && (getCurrentCompactedKVs() == other.getCurrentCompactedKVs());
hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
setCurrentCompactedKVs(other.getCurrentCompactedKVs());
hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
hash = (53 * hash) + hashLong(getCurrentCompactedKVs());
setCurrentCompactedKVs(other.getCurrentCompactedKVs());
setCurrentCompactedKVs(other.getCurrentCompactedKVs());
if (load != null && load.getTotalCompactingKVs() > 0) { percentDone = String.format("%.2f", 100 * ((float) load.getCurrentCompactedKVs() / load.getTotalCompactingKVs())) + "%"; org.jamon.escaping.Escaping.HTML.write(org.jamon.emit.StandardEmitter.valueOf(load.getCurrentCompactedKVs()), jamonWriter);
public ServerLoad(ClusterStatusProtos.ServerLoad serverLoad) { this.serverLoad = serverLoad; for (ClusterStatusProtos.RegionLoad rl: serverLoad.getRegionLoadsList()) { stores += rl.getStores(); storefiles += rl.getStorefiles(); storeUncompressedSizeMB += rl.getStoreUncompressedSizeMB(); storefileSizeMB += rl.getStorefileSizeMB(); memstoreSizeMB += rl.getMemstoreSizeMB(); storefileIndexSizeMB += rl.getStorefileIndexSizeMB(); readRequestsCount += rl.getReadRequestsCount(); writeRequestsCount += rl.getWriteRequestsCount(); rootIndexSizeKB += rl.getRootIndexSizeKB(); totalStaticIndexSizeKB += rl.getTotalStaticIndexSizeKB(); totalStaticBloomSizeKB += rl.getTotalStaticBloomSizeKB(); totalCompactingKVs += rl.getTotalCompactingKVs(); currentCompactedKVs += rl.getCurrentCompactedKVs(); } }
/** * @return the number of already compacted kvs in current compaction */ public long getCurrentCompactedKVs() { return regionLoadPB.getCurrentCompactedKVs(); }