io.ebeaninternal.api.CacheIdLookup Maven / Gradle / Ivy
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