public VersionedObjectList setKeys(List<Object> newKeys) {
    keys = newKeys;
    hasKeys = (keys != null);
    return this;
  }
sets the keys for this partlist
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/VersionedObjectList.java