Tabnine Logo
IndirectMap.buildDelegate
Code IndexAdd Tabnine to your IDE (free)

How to use
buildDelegate
method
in
org.eclipse.persistence.indirection.IndirectMap

Best Java code snippets using org.eclipse.persistence.indirection.IndirectMap.buildDelegate (Showing top 3 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * Check whether the contents have been read from the database.
 * If they have not, read them and set the delegate.
 * This method used to be synchronized, which caused deadlock.
 */
protected Hashtable<K, V> getDelegate() {
  if (delegate == null) {
    synchronized(this){
      if (delegate == null) {
        delegate = this.buildDelegate();
      }
    }
  }
  return delegate;
}
 
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * Check whether the contents have been read from the database.
 * If they have not, read them and set the delegate.
 * This method used to be synchronized, which caused deadlock.
 */
protected Hashtable getDelegate() {
  if (delegate == null) {
    synchronized(this){
      if (delegate == null) {
        delegate = this.buildDelegate();
      }
    }
  }
  return delegate;
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * Check whether the contents have been read from the database.
 * If they have not, read them and set the delegate.
 * This method used to be synchronized, which caused deadlock.
 */
protected Hashtable<K, V> getDelegate() {
  Hashtable<K, V> newDelegate = this.delegate;
  if (newDelegate == null) {
    synchronized(this){
      newDelegate = this.delegate;
      if (newDelegate == null) {
        this.delegate = newDelegate = this.buildDelegate();
      }
    }
  }
  return newDelegate;
}
org.eclipse.persistence.indirectionIndirectMapbuildDelegate

Javadoc

Return the freshly-built delegate.

Popular methods of IndirectMap

  • _persistence_getPropertyChangeListener
    Return the property change listener for change tracking.
  • clear
  • get
  • getDelegate
    INTERNAL: Check whether the contents have been read from the database. If they have not, read them a
  • getTrackedAttributeName
    INTERNAL: Return the mapping attribute name, used to raise change events.
  • getValueHolder
    PUBLIC: Return the valueHolder. This method used to be synchronized, which caused deadlock.
  • hasTrackedPropertyChangeListener
    INTERNAL: Return if the collection has a property change listener for change tracking.
  • initialize
    Initialize the instance.
  • isInstantiated
    PUBLIC: Return whether the contents have been read from the database.
  • keySet
  • put
  • raiseAddChangeEvent
    Raise the add change event and relationship maintainence.
  • put,
  • raiseAddChangeEvent,
  • raiseRemoveChangeEvent,
  • <init>,
  • remove,
  • entrySet

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • requestLocationUpdates (LocationManager)
  • Permission (java.security)
    Legacy security code; do not use.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • JButton (javax.swing)
  • JCheckBox (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now