All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.api.CacheIdLookup Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.api;

import java.util.Collection;
import java.util.List;

/**
 * Process Cache lookup by Id(s).
 */
public interface CacheIdLookup {

  /**
   * Return the Id values to lookup against the L2 cache.
   */
  Collection idValues();

  /**
   * Remove the hits returning the beans fetched from L2 cache.
   */
  List removeHits(BeanCacheResult cacheResult);

  /**
   * Return true if all beans where found in L2 cache.
   */
  boolean allHits();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy