use of com.oracle.coherence.hibernate.cache.v53.access.processor.PutFromLoadProcessor in project coherence-hibernate by coherence-community.
the class AbstractCoherenceEntityDataAccess method putFromLoad.
/**
* {@inheritDoc}
*/
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);
PutFromLoadProcessor processor = new PutFromLoadProcessor(minimalPutOverride, newCacheValue);
return (Boolean) getCoherenceRegion().invoke(key, processor);
}
Aggregations