Object o = optimalGet(qkey); if (o instanceof Conflatable) { Conflatable object = (Conflatable)o;
&& (object = optimalGet(Long.valueOf(currentKey))) == null) { if (logger.isTraceEnabled()) { logger.trace("{}: Trying head key + offset: {}", this, currentKey);
private void removeIndex(Long qkey) { // Determine whether conflation is enabled for this queue and object if (this.enableConflation) { // only call get after checking enableConflation for bug 40508 Object o = optimalGet(qkey); if (o instanceof Conflatable) { Conflatable object = (Conflatable)o; if (object.shouldBeConflated()) { // Otherwise, remove the index from the indexes map. String rName = object.getRegionToConflate(); Object key = object.getKeyToConflate(); Map<Object, Long> latestIndexesForRegion = this.indexes.get(rName); if (latestIndexesForRegion != null) { // Remove the index. Long index = latestIndexesForRegion.remove(key); this.stats.decConflationIndexesMapSize(); if (logger.fineEnabled()) { if (index != null) { logger.fine(this + ": Removed index " + index + " for " + object); } } } } } } }
&& (object = optimalGet(Long.valueOf(currentKey))) == null) { if (this.logger.finerEnabled()) { this.logger.finer(this + ": Trying head key + offset: " + currentKey);