org.infinispan.quarkus.hibernate.cache.QueryResultsRegionImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-local-cache Show documentation
Show all versions of quarkus-local-cache Show documentation
Local-only Hibernate Cache optimized for Quarkus
package org.infinispan.quarkus.hibernate.cache;
import org.hibernate.cache.CacheException;
import org.hibernate.cache.spi.ExtendedStatisticsSupport;
import org.hibernate.cache.spi.QueryResultsRegion;
import org.hibernate.cache.spi.RegionFactory;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.stat.CacheRegionStatistics;
import org.jboss.logging.Logger;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.function.Function;
final class QueryResultsRegionImpl implements QueryResultsRegion, ExtendedStatisticsSupport {
private static final Logger log = Logger.getLogger(QueryResultsRegionImpl.class);
private final InternalCache cache;
private final String name;
private final InternalRegionImpl internalRegion;
private final RegionFactory regionFactory;
private final ConcurrentMap
© 2015 - 2025 Weber Informatics LLC | Privacy Policy