Examples of SharedFlag


Examples of propel.core.threading.primitives.SharedFlag

   */
  @Validate
  public SingleInitGuard(@NotNull final Class<?> owner)
  {
    this.className = owner.getSimpleName();
    this.flag = new SharedFlag();
  }
View Full Code Here

Examples of propel.core.threading.primitives.SharedFlag

   */
  @Validate
  public SingleInitGuard(@NotNull final String className)
  {
    this.className = className;
    this.flag = new SharedFlag();
  }
View Full Code Here

Examples of propel.core.threading.primitives.SharedFlag

   */
  @Validate
  public MultiInitGuard(@NotNull final Class<?> owner)
  {
    this.className = owner.getSimpleName();
    this.flag = new SharedFlag();
  }
View Full Code Here

Examples of propel.core.threading.primitives.SharedFlag

   */
  @Validate
  public MultiInitGuard(@NotNull final String className)
  {
    this.className = className;
    this.flag = new SharedFlag();
  }
View Full Code Here

Examples of propel.core.threading.primitives.SharedFlag

   * Default constructor, if using this then the object must be set explicitly before getting.
   */
  public Frozen()
  {
    // set flag to false
    flag = new SharedFlag();
  }
View Full Code Here

Examples of propel.core.threading.primitives.SharedFlag

   * Initialises with an object, preventing subsequent overwriting.
   */
  public Frozen(T object)
  {
    // set flag to true
    flag = new SharedFlag(true);
    this.object = object;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.