* Adds the BIN and deleted Key with the latch held.
*/
private void addBinKeyToQueueAlreadyLatched(BIN bin, Key deletedKey) {
Long node = new Long(bin.getNodeId());
BINReference existingRef = (BINReference) binRefQueue.get(node);
if (existingRef != null) {
if (deletedKey != null) {
existingRef.addDeletedKey(deletedKey);
}
} else {
BINReference binRef = bin.createReference();
if (deletedKey != null) {
binRef.addDeletedKey(deletedKey);
}
binRefQueue.put(node, binRef);
}
}