Enum Class SignalTree.Type

java.lang.Object
java.lang.Enum<SignalTree.Type>
com.vaadin.signals.impl.SignalTree.Type
All Implemented Interfaces:
Serializable, Comparable<SignalTree.Type>, Constable
Enclosing class:
SignalTree

public static enum SignalTree.Type extends Enum<SignalTree.Type>
The tree type, used to determine how different tree instances can be combined in a transaction.
  • 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
    Asynchronous trees can only confirm the status of applied commands asynchronously and can thus not participate in transactions that contain other asynchronous or synchronous trees.
    Computed trees cannot cause conflicts and can thus participate in any transaction without restrictions.
    Synchronous trees can confirm the status of applied commands while the tree is locked which makes it possible for multiple sync trees to participate in the same transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    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

    • ASYNCHRONOUS

      public static final SignalTree.Type ASYNCHRONOUS
      Asynchronous trees can only confirm the status of applied commands asynchronously and can thus not participate in transactions that contain other asynchronous or synchronous trees.
    • COMPUTED

      public static final SignalTree.Type COMPUTED
      Computed trees cannot cause conflicts and can thus participate in any transaction without restrictions.
    • SYNCHRONOUS

      public static final SignalTree.Type SYNCHRONOUS
      Synchronous trees can confirm the status of applied commands while the tree is locked which makes it possible for multiple sync trees to participate in the same transaction.
  • Method Details

    • values

      public static SignalTree.Type[] 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 SignalTree.Type 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