Tabnine Logo
EntityRegionAccessStrategy.lockItem
Code IndexAdd Tabnine to your IDE (free)

How to use
lockItem
method
in
org.hibernate.cache.access.EntityRegionAccessStrategy

Best Java code snippets using org.hibernate.cache.access.EntityRegionAccessStrategy.lockItem (Showing top 4 results out of 315)

origin: net.sf.ehcache/ehcache

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

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

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

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#lockItem(java.lang.Object, java.lang.Object)
 */
public SoftLock lockItem(Object key, Object version) throws CacheException {
  try {
    return actualStrategy.lockItem(key, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return null;
  }
}
org.hibernate.cache.accessEntityRegionAccessStrategylockItem

Popular methods of EntityRegionAccessStrategy

  • get
  • getRegion
  • afterInsert
  • afterUpdate
  • evict
  • evictAll
  • insert
  • lockRegion
  • putFromLoad
  • remove
  • removeAll
  • unlockItem
  • removeAll,
  • unlockItem,
  • unlockRegion,
  • update

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Kernel (java.awt.image)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now