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

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

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

  • Common ways to obtain CollectionRegionAccessStrategy
private void myMethod () {
CollectionRegionAccessStrategy c =
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new ReadOnlyEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.getSettings())
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new NonStrictReadWriteEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.getSettings())
  • Codota IconEhcacheCollectionRegion ehcacheCollectionRegion;EhcacheCollectionRegion ehcacheCollectionRegion2;new ReadWriteEhcacheCollectionRegionAccessStrategy(ehcacheCollectionRegion, ehcacheCollectionRegion2.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: 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.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: org.terracotta/h2lc-test

public CacheEntry<T> assertIsPresent() {
 Assert.assertNotNull(cacheAccess.get(getCacheKey(), cacheRegion.nextTimestamp()));
 return this;
}
origin: org.terracotta/h2lc-test

public CacheEntry<T> assertIsMissing() {
 Assert.assertNull(cacheAccess.get(getCacheKey(), cacheRegion.nextTimestamp()));
 return this;
}
org.hibernate.cache.accessCollectionRegionAccessStrategyget

Popular methods of CollectionRegionAccessStrategy

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

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • getSystemService (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Collectors (java.util.stream)
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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