use of com.oracle.coherence.hibernate.cache.v53.access.processor.ReadWritePutFromLoadProcessor in project coherence-hibernate by coherence-community.
the class AbstractReadWriteCoherenceEntityDataAccess method putFromLoad.
/**
* {@inheritDoc}
*/
@Override
public boolean putFromLoad(SharedSessionContractImplementor session, Object key, Object value, Object version, boolean minimalPutOverride) throws CacheException {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("putFromLoad({}, {}, {}, {})", key, value, version, minimalPutOverride);
}
CoherenceRegionValue newCacheValue = newCacheValue(value, version);
ReadWritePutFromLoadProcessor processor = new ReadWritePutFromLoadProcessor(minimalPutOverride, this.getCoherenceRegion().nextTimestamp(), newCacheValue, super.getVersionComparator());
return (Boolean) getCoherenceRegion().invoke(key, processor);
}
Aggregations