congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CollectionRegionAccessStrategy.lockRegion
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: net.sf.ehcache/ehcache

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

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#lockRegion()
 */
public SoftLock lockRegion() throws CacheException {
  try {
    return actualStrategy.lockRegion();
  } 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#lockRegion()
 */
public SoftLock lockRegion() throws CacheException {
  try {
    return actualStrategy.lockRegion();
  } 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#lockRegion()
 */
public SoftLock lockRegion() throws CacheException {
  try {
    return actualStrategy.lockRegion();
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return null;
  }
}
org.hibernate.cache.accessCollectionRegionAccessStrategylockRegion

Popular methods of CollectionRegionAccessStrategy

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

Popular in Java

  • Making http post requests using okhttp
  • setContentView (Activity)
  • getExternalFilesDir (Context)
  • runOnUiThread (Activity)
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Join (org.hibernate.mapping)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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