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

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

Best Java code snippets using org.hibernate.cache.access.EntityRegionAccessStrategy.get (Showing top 6 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#get(java.lang.Object, long)
 */
public Object get(Object key, long txTimestamp) throws CacheException {
  try {
    return actualStrategy.get(key, txTimestamp);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return null;
  }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.ehcache

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

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#get(java.lang.Object, long)
 */
public Object get(Object key, long txTimestamp) throws CacheException {
  try {
    return actualStrategy.get(key, txTimestamp);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return null;
  }
}
origin: org.sonatype.nexus.bundles/org.sonatype.nexus.bundles.ehcache

/**
 * {@inheritDoc}
 *
 * @see org.hibernate.cache.access.EntityRegionAccessStrategy#get(java.lang.Object, long)
 */
public Object get(Object key, long txTimestamp) throws CacheException {
  try {
    return actualStrategy.get(key, txTimestamp);
  } catch (NonStopCacheException nonStopCacheException) {
    hibernateNonstopExceptionHandler.handleNonstopCacheException(nonStopCacheException);
    return null;
  }
}
origin: org.terracotta/h2lc-test

public CacheEntry<T> assertIsMissing() {
 CacheKey cacheKey = getCacheKey();
 Object entry = cacheAccess.get(cacheKey, cacheRegion.nextTimestamp());
 Assert.assertNull(cacheKey + " should not be in cache region " + cacheRegion.getName() + ", yet return value", entry);
 return this;
}
origin: org.terracotta/h2lc-test

public CacheEntry<T> assertIsPresent() {
 CacheKey cacheKey = getCacheKey();
 Object entry = cacheAccess.get(cacheKey, cacheRegion.nextTimestamp());
 Assert.assertNotNull(cacheKey + " should be in cache region " + cacheRegion.getName() + ", yet return value", entry);
 return this;
}
org.hibernate.cache.accessEntityRegionAccessStrategyget

Popular methods of EntityRegionAccessStrategy

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

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • getContentResolver (Context)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Collectors (java.util.stream)
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JButton (javax.swing)
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