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

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

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

origin: net.sf.ehcache/ehcache

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

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#afterInsert(java.lang.Object, java.lang.Object, java.lang.Object)
 */
public boolean afterInsert(Object key, Object value, Object version) throws CacheException {
  try {
    return actualStrategy.afterInsert(key, value, 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#afterInsert(java.lang.Object, java.lang.Object, java.lang.Object)
 */
public boolean afterInsert(Object key, Object value, Object version) throws CacheException {
  try {
    return actualStrategy.afterInsert(key, value, 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#afterInsert(java.lang.Object, java.lang.Object, java.lang.Object)
 */
public boolean afterInsert(Object key, Object value, Object version) throws CacheException {
  try {
    return actualStrategy.afterInsert(key, value, version);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return false;
  }
}
org.hibernate.cache.accessEntityRegionAccessStrategyafterInsert

Popular methods of EntityRegionAccessStrategy

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

Popular in Java

  • Making http post requests using okhttp
  • findViewById (Activity)
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Table (org.hibernate.mapping)
    A relational table
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for WebStorm
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