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

How to use
evict
method
in
org.hibernate.cache.spi.access.EntityRegionAccessStrategy

Best Java code snippets using org.hibernate.cache.spi.access.EntityRegionAccessStrategy.evict (Showing top 6 results out of 315)

origin: org.hibernate/com.springsource.org.hibernate

public void evictEntity(String entityName, Serializable identifier) {
  EntityPersister p = getEntityPersister( entityName );
  if ( p.hasCache() ) {
    if ( LOG.isDebugEnabled() ) {
      LOG.debugf( "Evicting second-level cache: %s",
          MessageHelper.infoString( p, identifier, SessionFactoryImpl.this ) );
    }
    p.getCacheAccessStrategy().evict( buildCacheKey( identifier, p ) );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

public void evictEntity(String entityName, Serializable identifier) {
  EntityPersister p = getEntityPersister( entityName );
  if ( p.hasCache() ) {
    if ( LOG.isDebugEnabled() ) {
      LOG.debugf( "Evicting second-level cache: %s",
          MessageHelper.infoString( p, identifier, SessionFactoryImpl.this ) );
    }
    p.getCacheAccessStrategy().evict( buildCacheKey( identifier, p ) );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

persister.getCacheAccessStrategy().evict( ck );
origin: org.hibernate/com.springsource.org.hibernate.core

persister.getCacheAccessStrategy().evict( ck );
origin: org.hibernate/com.springsource.org.hibernate.core

    persister.getRootEntityName()
);
persister.getCacheAccessStrategy().evict( ck );
origin: org.hibernate/com.springsource.org.hibernate

    persister.getRootEntityName()
);
persister.getCacheAccessStrategy().evict( ck );
org.hibernate.cache.spi.accessEntityRegionAccessStrategyevict

Popular methods of EntityRegionAccessStrategy

  • getRegion
    Get the wrapped entity cache region
  • afterInsert
  • afterUpdate
  • insert
  • update
  • evictAll
  • get
  • lockItem
  • lockRegion
  • putFromLoad
  • remove
  • removeAll
  • remove,
  • removeAll,
  • unlockItem,
  • unlockRegion

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Path (java.nio.file)
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Option (scala)
  • 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