encoder.writeLong(value.createTimestamp);
}
public ModuleVersionsCacheEntry read(Decoder decoder) throws Exception {
int size = decoder.readInt();
DefaultModuleVersionListing versions = new DefaultModuleVersionListing();
for (int i = 0; i < size; i++) {
versions.add(decoder.readString());
}
long createTimestamp = decoder.readLong();
return new ModuleVersionsCacheEntry(versions, createTimestamp);
}