Codota Logo
DomainDataRegionBuildingContext.getEnforcedCacheKeysFactory
Code IndexAdd Codota to your IDE (free)

How to use
getEnforcedCacheKeysFactory
method
in
org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext

Best Java code snippets using org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext.getEnforcedCacheKeysFactory (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

  public AbstractDomainDataRegion(
      DomainDataRegionConfig regionConfig,
      RegionFactory regionFactory,
      CacheKeysFactory defaultKeysFactory,
      DomainDataRegionBuildingContext buildingContext) {
//        super( regionFactory.qualify( regionConfig.getRegionName() ), regionFactory );
    super( regionConfig.getRegionName(), regionFactory );

    this.sessionFactory = buildingContext.getSessionFactory();

    if ( defaultKeysFactory == null ) {
      defaultKeysFactory = DefaultCacheKeysFactory.INSTANCE;
    }
    this.effectiveKeysFactory = buildingContext.getEnforcedCacheKeysFactory() != null
        ? buildingContext.getEnforcedCacheKeysFactory()
        : defaultKeysFactory;
  }

origin: org.hibernate.orm/hibernate-core

  public AbstractDomainDataRegion(
      DomainDataRegionConfig regionConfig,
      RegionFactory regionFactory,
      CacheKeysFactory defaultKeysFactory,
      DomainDataRegionBuildingContext buildingContext) {
//        super( regionFactory.qualify( regionConfig.getRegionName() ), regionFactory );
    super( regionConfig.getRegionName(), regionFactory );

    this.sessionFactory = buildingContext.getSessionFactory();

    if ( defaultKeysFactory == null ) {
      defaultKeysFactory = DefaultCacheKeysFactory.INSTANCE;
    }
    this.effectiveKeysFactory = buildingContext.getEnforcedCacheKeysFactory() != null
        ? buildingContext.getEnforcedCacheKeysFactory()
        : defaultKeysFactory;
  }

org.hibernate.cache.cfg.spiDomainDataRegionBuildingContextgetEnforcedCacheKeysFactory

Javadoc

The CacheKeyFactory explicitly specified as part of the bootstrap by the user, by some "container", etc. If this method returns a non-null value, it is expected that RegionFactory implementors will use to be its CacheKeyFactory and return it when asked later.

Popular methods of DomainDataRegionBuildingContext

  • getSessionFactory
    Access to the SessionFactory for which a Region is being built.

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JComboBox (javax.swing)
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
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