title: how can I cache list of object in spring?
body: <p>I have an method called getUserById</p>
  
  <pre><code>@Cacheable(value = "Account", key = "#accountId")
  public Account getUserById(Long accountId) {
  </code></pre>
  
  <p>and another method called getUserByIds</p>
  
  <pre><code>@Cacheable(?????)
  public List&lt;Account&gt; getUserByIds(List&lt;Long&gt; accountIds) {
  </code></pre>
  
  <p>how can I cache all account by account id? thanks</p>