Codota Logo
CollectionRegionAccessStrategy.putFromLoad
Code IndexAdd Codota to your IDE (free)

How to use
putFromLoad
method
in
org.hibernate.cache.access.CollectionRegionAccessStrategy

Best Java code snippets using org.hibernate.cache.access.CollectionRegionAccessStrategy.putFromLoad (Showing top 8 results out of 315)

  • Common ways to obtain CollectionRegionAccessStrategy
private void myMethod () {
CollectionRegionAccessStrategy c =
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new ReadOnlyEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.getSettings())
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new NonStrictReadWriteEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.getSettings())
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new ReadWriteEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.getSettings())
  • Smart code suggestions by Codota
}
origin: net.sf.ehcache/ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: net.sf.ehcache/ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object,
 *      boolean)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
    throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version, minimalPutOverride);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: net.sf.ehcache.internal/ehcache-core

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object,
 *      boolean)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
    throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version, minimalPutOverride);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object,
 *      boolean)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
    throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version, minimalPutOverride);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
origin: net.sf.ehcache.internal/ehcache-core

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object,
 *      boolean)
 */
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride)
    throws CacheException {
  try {
    return actualStrategy.putFromLoad(key, value, txTimestamp, version, minimalPutOverride);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
org.hibernate.cache.accessCollectionRegionAccessStrategyputFromLoad

Popular methods of CollectionRegionAccessStrategy

  • get
  • getRegion
  • evict
  • evictAll
  • lockItem
  • lockRegion
  • remove
  • removeAll
  • unlockItem
  • unlockRegion

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now