Enum Class Joiner.Status

java.lang.Object
java.lang.Enum<Joiner.Status>
org.jboss.byteman.synchronization.Joiner.Status
All Implemented Interfaces:
Serializable, Comparable<Joiner.Status>, Constable
Enclosing class:
Joiner

public static enum Joiner.Status extends Enum<Joiner.Status>
status values returned from child add method
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    an ADDED status is returned when a child successfully adds itself to the join list but without reaching the expected number of children
    a DONE status is returned when a child successfully adds itself to the join list reaching the expected number of children and there is a parent thread waiting for the children
    a DUPLICATE status is returned when a child fails to add itself to the join list because it is already present
    an EXCESS status is returned when a child fails to add itself to a join list because it already contains the expected number of children
    a FILLED status is returned when a child successfully adds itself to the join list reaching the expected number of children but there is no parent thread waiting for the children
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static Joiner.Status[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • DUPLICATE

      public static final Joiner.Status DUPLICATE
      a DUPLICATE status is returned when a child fails to add itself to the join list because it is already present
    • EXCESS

      public static final Joiner.Status EXCESS
      an EXCESS status is returned when a child fails to add itself to a join list because it already contains the expected number of children
    • ADDED

      public static final Joiner.Status ADDED
      an ADDED status is returned when a child successfully adds itself to the join list but without reaching the expected number of children
    • FILLED

      public static final Joiner.Status FILLED
      a FILLED status is returned when a child successfully adds itself to the join list reaching the expected number of children but there is no parent thread waiting for the children
    • DONE

      public static final Joiner.Status DONE
      a DONE status is returned when a child successfully adds itself to the join list reaching the expected number of children and there is a parent thread waiting for the children
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static Joiner.Status[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Joiner.Status valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null