Codota Logo
EntityRegionAccessStrategy.unlockRegion
Code IndexAdd Codota to your IDE (free)

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

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

  • Common ways to obtain EntityRegionAccessStrategy
private void myMethod () {
EntityRegionAccessStrategy e =
  • Codota IconEhcacheEntityRegion ehcacheEntityRegion;EhcacheEntityRegion region;new ReadWriteEhcacheEntityRegionAccessStrategy(ehcacheEntityRegion, region.getSettings())
  • Codota IconEhcacheEntityRegion ehcacheEntityRegion;EhcacheEntityRegion ehcacheEntityRegion2;new NonStrictReadWriteEhcacheEntityRegionAccessStrategy(ehcacheEntityRegion, ehcacheEntityRegion2.getSettings())
  • Codota IconEhcacheEntityRegion ehcacheEntityRegion;EhcacheEntityRegion region;new ReadOnlyEhcacheEntityRegionAccessStrategy(ehcacheEntityRegion, region.getSettings())
  • Smart code suggestions by Codota
}
origin: net.sf.ehcache/ehcache

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

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#unlockRegion(org.hibernate.cache.access.SoftLock)
 */
public void unlockRegion(SoftLock lock) throws CacheException {
  try {
    actualStrategy.unlockRegion(lock);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#unlockRegion(org.hibernate.cache.access.SoftLock)
 */
public void unlockRegion(SoftLock lock) throws CacheException {
  try {
    actualStrategy.unlockRegion(lock);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
  }
}
origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#unlockRegion(org.hibernate.cache.access.SoftLock)
 */
public void unlockRegion(SoftLock lock) throws CacheException {
  try {
    actualStrategy.unlockRegion(lock);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
  }
}
org.hibernate.cache.accessEntityRegionAccessStrategyunlockRegion

Popular methods of EntityRegionAccessStrategy

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

Popular in Java

  • Running tasks concurrently on multiple threads
  • startActivity (Activity)
  • putExtra (Intent)
  • addToBackStack (FragmentTransaction)
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JButton (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Join (org.hibernate.mapping)
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