public void clearParts() {
    for (Part part : partsList) {
      part.clear();
    }
    currentPart = 0;
  }
Gets rid of all the parts that have been added to this message.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Message.java