congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CollectionRegionAccessStrategy.getRegion
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.hibernate.cache.access.CollectionRegionAccessStrategy.getRegion (Showing top 5 results out of 315)

origin: net.sf.ehcache/ehcache

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

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

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

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

protected CollectionCacheEntry(Object owner, String field) {
 ClassMetadata ownerClassMetadata = factoryImplementor.getClassMetadata(owner.getClass());
 Type t = ownerClassMetadata.getPropertyType(field);
 Assert.assertTrue(t instanceof CollectionType);
 CollectionType type = (CollectionType)t;
 role = type.getRole();
 collectionPersister = factoryImplementor.getCollectionPersister(role);
 if(collectionPersister.hasCache()) {
  cacheRegion = collectionPersister.getCacheAccessStrategy().getRegion();
  cacheAccess = cacheRegion.buildAccessStrategy(AccessType.READ_ONLY);
 } else {
  cacheRegion = null;
  cacheAccess = null;
 }
 persistentCollection = (PersistentCollection) factoryImplementor.getEntityPersister(ownerClassMetadata.getEntityName()).getPropertyValue(owner, field, entityMode);
 keyOfOwner = persistentCollection.getKey();
}
org.hibernate.cache.accessCollectionRegionAccessStrategygetRegion

Popular methods of CollectionRegionAccessStrategy

  • get
  • evict
  • evictAll
  • lockItem
  • lockRegion
  • putFromLoad
  • remove
  • removeAll
  • unlockItem
  • unlockRegion

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • requestLocationUpdates (LocationManager)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • String (java.lang)
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Top 25 Plugins for Webstorm
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