Javadoc
Update an unprocessed event in the unprocessed events map. This method is
called by a secondary GatewaySender
to store a gateway event until
it is processed by a primary GatewaySender
. The complexity of this
method is the fact that the event could be processed first by either the
primary or secondary GatewaySender
.
If the primary processes the event first, the map will already contain an
entry for the event (through
com.gemstone.gemfire.internal.cache.GatewayImpl.SecondaryGatewayListener#afterDestroy). When the secondary processes the event, it will remove it from the map.
If the secondary processes the event first, it will add it to the map. When
the primary processes the event (through
com.gemstone.gemfire.internal.cache.GatewayImpl.SecondaryGatewayListener#afterDestroy), it will then be removed from the map.