org.infinispan.quarkus.hibernate.cache.InternalDataAccess 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.spi.access.SoftLock;
interface InternalDataAccess {
Object get(Object session, Object key, long txTimestamp);
boolean putFromLoad(Object session, Object key, Object value, long txTimestamp, Object version);
boolean putFromLoad(Object session, Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride);
boolean insert(Object session, Object key, Object value, Object version);
boolean update(Object session, Object key, Object value, Object currentVersion, Object previousVersion);
void remove(Object session, Object key);
void removeAll();
void evict(Object key);
void evictAll();
boolean afterInsert(Object session, Object key, Object value, Object version);
boolean afterUpdate(Object session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy