0
当我设置一个内存缓存实体的键这样是在内存缓存实体键的相同数据存储
syncCache.put(entityKey, entity);
其中
entityKey = entity.getKey();
entityKeyIdFromDataStore = entityKey.getId();
事后我检索存储在内存缓存的实体和检索密钥号码
entity = (Entity) syncCache.get(entityKey);
entityKeyIdFromCache = entity.getKey().getId();
将entityKeyIdFromDataStore和entityKeyIdFromCache相同吗?