class StorageJetCache extends SimpleJpaRepository<E,PK> implements IStorage<PK,E> {

    @Override
    public E get(PK id) {
        Preconditions.checkNotNull(id,"id不能为null");
        CacheGetResult<E> cacheGetResult = cache.GET(id);
        if (cacheGetResult.isSuccess()){
            E entityFromCache = cacheGetResult.getValue();
            return entityFromCache;
        }else {
            E entity = findOne(id);
            // 不管是null还是实体都缓存起来
            cache.put(id,entity);
            return entity;
        }
    }

    public  StorageJetCache(JpaEntityInformation<E, ?> entityInformation, EntityManager entityManager);

}