@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      super.toData(out, context);
      out.writeBoolean(result);
      DataSerializer.writeObject(indexBucketsMap, out);
      out.writeInt(numTotalBuckets);
      out.writeBoolean(isDataStore);
    }
Constructor for index creation reply message.

@param processorId processor id of the waiting processor
@param ex any exceptions
@param result true if index created properly else false
@param indexBucketsMap Map of indexes created and number of buckets indexed
@param numTotalBuckets Number of total buckets in this vm
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/IndexCreationMsg.java