public void updateHold(@Nullable Object key,Instant newHold){
  removeHold(key);
  KeyedHold newKeyedHold=KeyedHold.of(key,newHold);
  keyedHolds.put(key,newKeyedHold);
  allHolds.offer(newKeyedHold);
}

public void updateHold ( @ Nullable Object key , Instant newHold ) { removeHold ( key ) ; KeyedHold newKeyedHold = KeyedHold . of ( key , newHold ) ; keyedHolds . put ( key , newKeyedHold ) ; allHolds . offer ( newKeyedHold ) ; }
updates the hold of the provided key to the provided value , removing any other holds for the same key .
