如果我有一个标记为@Asyncas well的方法@Cacheable,那么在 null 工作时不缓存结果的条件(考虑到它返回 a Future)会不会?
@Async
@Cacheable(unless = "#result == null")
public ListenableFuture<ContentSet> doSomething(){}
如果我有一个标记为@Asyncas well的方法@Cacheable,那么在 null 工作时不缓存结果的条件(考虑到它返回 a Future)会不会?
@Async
@Cacheable(unless = "#result == null")
public ListenableFuture<ContentSet> doSomething(){}