@Override
    public void fromData(DataInput in,
        DeserializationContext context) throws IOException, ClassNotFoundException {

      super.fromData(in, context);
      eventId = context.getDeserializer().readObject(in);
      removeAllDataSize = (int) InternalDataSerializer.readUnsignedVL(in);
      removeAllData = new RemoveAllEntryData[removeAllDataSize];
      if (removeAllDataSize > 0) {
        for (int i = 0; i < removeAllDataSize; i++) {
          removeAllData[i] = new RemoveAllEntryData(in, eventId, i, context);
        }

        boolean hasTags = in.readBoolean();
        if (hasTags) {
          EntryVersionsList versionTags = EntryVersionsList.create(in);
          for (int i = 0; i < removeAllDataSize; i++) {
            removeAllData[i].versionTag = versionTags.get(i);
          }
        }
      }

      if ((flags & HAS_BRIDGE_CONTEXT) != 0) {
        this.context = context.getDeserializer().readObject(in);
      }
      skipCallbacks = (flags & SKIP_CALLBACKS) != 0;
    }
create an event for a RemoveAllEntryData element

@return the event to be used in applying the element
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedRemoveAllOperation.java