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

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

Best Java code snippets using org.hibernate.cache.access.EntityRegionAccessStrategy.getRegion (Showing top 5 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#getRegion()
 */
public EntityRegion getRegion() {
  return actualStrategy.getRegion();
}
origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#getRegion()
 */
public EntityRegion getRegion() {
  return actualStrategy.getRegion();
}
origin: net.sf.ehcache.internal/ehcache-core

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#getRegion()
 */
public EntityRegion getRegion() {
  return actualStrategy.getRegion();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#getRegion()
 */
public EntityRegion getRegion() {
  return actualStrategy.getRegion();
}
origin: org.terracotta/h2lc-test

private EntityCacheEntry(final Class<T> entityClass, T instance, Serializable pk) {
 this.entityClass = entityClass;
 factoryImplementor = (SessionFactoryImplementor) CacheEntry.getSessionFactory();
 entityPersister = getEntityPersister(entityClass);
 if (entityPersister.hasCache()) {
  cacheRegion = entityPersister.getCacheAccessStrategy().getRegion();
  cacheAccess = cacheRegion.buildAccessStrategy(AccessType.READ_ONLY);
 } else {
  cacheRegion = null;
  cacheAccess = null;
 }
 if(instance != null) {
  this.pk = entityPersister.getIdentifier(instance, entityMode);
 } else {
  this.pk = pk;
 }
 this.entity = instance;
}
org.hibernate.cache.accessEntityRegionAccessStrategygetRegion

Popular methods of EntityRegionAccessStrategy

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

Popular in Java

  • Making http post requests using okhttp
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
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