Enum Machine._Fields

java.lang.Object
java.lang.Enum<Machine._Fields>
dev.vality.machinegun.stateproc.Machine._Fields
All Implemented Interfaces:
Serializable, Comparable<Machine._Fields>, Constable, org.apache.thrift.TFieldIdEnum
Enclosing class:
Machine

public static enum Machine._Fields
extends Enum<Machine._Fields>
implements org.apache.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
  • 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
    AUX_STATE
    Вспомогательное состояние — это некоторый набор данных, характеризующий состояние, и в отличие от событий не сохраняется в историю, а каждый раз перезаписывается.
    HISTORY
    Сложное состояние, выраженное в виде упорядоченного набора событий процессора.
    HISTORY_RANGE
    Диапазон с которым была запрошена история машины.
    ID
    Основной идентификатор машины
    NS
    Пространство имён, в котором работает машина
    TIMER
    Текущий активный таймер (точнее, дата и время когда таймер сработает).
  • Method Summary

    Modifier and Type Method Description
    static Machine._Fields findByName​(String name)
    Find the _Fields constant that matches name, or null if its not found.
    static Machine._Fields findByThriftId​(int fieldId)
    Find the _Fields constant that matches fieldId, or null if its not found.
    static Machine._Fields findByThriftIdOrThrow​(int fieldId)
    Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
    String getFieldName()  
    short getThriftFieldId()  
    static Machine._Fields valueOf​(String name)
    Returns the enum constant of this type with the specified name.
    static Machine._Fields[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

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

    • NS

      public static final Machine._Fields NS
      Пространство имён, в котором работает машина
    • ID

      public static final Machine._Fields ID
      Основной идентификатор машины
    • HISTORY

      public static final Machine._Fields HISTORY
      Сложное состояние, выраженное в виде упорядоченного набора событий процессора. Список событий упорядочен по моменту фиксирования его в системе: в начале списка располагаются события, произошедшие раньше тех, которые располагаются в конце.
    • HISTORY_RANGE

      public static final Machine._Fields HISTORY_RANGE
      Диапазон с которым была запрошена история машины.
    • AUX_STATE

      public static final Machine._Fields AUX_STATE
      Вспомогательное состояние — это некоторый набор данных, характеризующий состояние, и в отличие от событий не сохраняется в историю, а каждый раз перезаписывается. Бывает полезен, чтобы сохранить данные между запросами, не добавляя их в историю.
    • TIMER

      public static final Machine._Fields TIMER
      Текущий активный таймер (точнее, дата и время когда таймер сработает).
  • Method Details

    • values

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

      public static Machine._Fields valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • findByThriftId

      public static Machine._Fields findByThriftId​(int fieldId)
      Find the _Fields constant that matches fieldId, or null if its not found.
    • findByThriftIdOrThrow

      public static Machine._Fields findByThriftIdOrThrow​(int fieldId)
      Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
    • findByName

      public static Machine._Fields findByName​(String name)
      Find the _Fields constant that matches name, or null if its not found.
    • getThriftFieldId

      public short getThriftFieldId()
      Specified by:
      getThriftFieldId in interface org.apache.thrift.TFieldIdEnum
    • getFieldName

      public String getFieldName()
      Specified by:
      getFieldName in interface org.apache.thrift.TFieldIdEnum