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

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

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

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

private EntityCleanup(EntityRegionAccessStrategy cacheAccess) {
  this.cacheAccess = cacheAccess;
  this.cacheLock = cacheAccess.lockRegion();
  cacheAccess.removeAll();
}
origin: org.hibernate/com.springsource.org.hibernate.core

private EntityCleanup(EntityRegionAccessStrategy cacheAccess) {
  this.cacheAccess = cacheAccess;
  this.cacheLock = cacheAccess.lockRegion();
  cacheAccess.removeAll();
}
org.hibernate.cache.spi.accessEntityRegionAccessStrategylockRegion

Popular methods of EntityRegionAccessStrategy

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

Popular in Java

  • Making http requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JPanel (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top 15 Vim Plugins
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