@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      synchronized (this) { // fix for bug #41621
        out.writeLong(lastDispatchedSequenceId);
        out.writeLong(lastSequenceIDPut);
      }
    }
This method is invoked by the take function. Before invoking it , the take has already
removed the poistion from the available IDs set.

@param info Data object of type RemovedEventInfo which contains info like position countre,
       key & region name
@param sequenceID sequence ID of the event being removed from HARegionQueue
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java