Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要缓存一个无法序列化的对象。我正在寻找一些方法来通过包装器缓存这些类型的对象。可以做到吗?
您要缓存的对象不需要序列化,但是您生成的用于存储相应对象的键当然必须序列化。