此内容没有您所选择的语言版本。
4.3.4. Cache Mode Troubleshooting
4.3.4.1. Invalid Data in ReadExternal 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
If invalid data is passed to
readExternal
, it can be because when using Cache.putAsync()
, starting serialization can cause your object to be modified, causing the datastream passed to readExternal
to be corrupted. This can be resolved if access to the object is synchronized.