Class TimeoutBehaviour

java.lang.Object
org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
dev.vality.damsel.timeout_behaviour.TimeoutBehaviour
All Implemented Interfaces:
Serializable, Comparable<TimeoutBehaviour>, org.apache.thrift.TBase<TimeoutBehaviour,TimeoutBehaviour._Fields>, org.apache.thrift.TSerializable

@Generated(value="Autogenerated by Thrift Compiler (0.19.0)", date="2024-08-02") public class TimeoutBehaviour extends org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • deepCopy

      public TimeoutBehaviour deepCopy()
    • operation_failure

      public static TimeoutBehaviour operation_failure(OperationFailure value)
    • callback

      public static TimeoutBehaviour callback(ByteBuffer value)
    • checkType

      protected void checkType(TimeoutBehaviour._Fields setField, Object value) throws ClassCastException
      Specified by:
      checkType in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
      Throws:
      ClassCastException
    • standardSchemeReadValue

      protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
      Specified by:
      standardSchemeReadValue in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
      Throws:
      org.apache.thrift.TException
    • standardSchemeWriteValue

      protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      standardSchemeWriteValue in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeReadValue

      protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeReadValue in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
      Throws:
      org.apache.thrift.TException
    • tupleSchemeWriteValue

      protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
      Specified by:
      tupleSchemeWriteValue in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
      Throws:
      org.apache.thrift.TException
    • getFieldDesc

      protected org.apache.thrift.protocol.TField getFieldDesc(TimeoutBehaviour._Fields setField)
      Specified by:
      getFieldDesc in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
    • getStructDesc

      protected org.apache.thrift.protocol.TStruct getStructDesc()
      Specified by:
      getStructDesc in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
    • enumForId

      protected TimeoutBehaviour._Fields enumForId(short id)
      Specified by:
      enumForId in class org.apache.thrift.TUnion<TimeoutBehaviour,TimeoutBehaviour._Fields>
    • getFields

      public TimeoutBehaviour._Fields[] getFields()
    • getFieldMetaData

      public Map<TimeoutBehaviour._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()
    • fieldForId

      public TimeoutBehaviour._Fields fieldForId(int fieldId)
    • getOperationFailure

      public OperationFailure getOperationFailure()
      Неуспешное завершение взаимодействия с пояснением возникшей проблемы.
    • setOperationFailure

      public void setOperationFailure(OperationFailure value)
      Неуспешное завершение взаимодействия с пояснением возникшей проблемы.
    • getCallback

      public ByteBuffer getCallback()
      Вызов прокси для обработки события истечения таймаута.
    • setCallback

      public void setCallback(ByteBuffer value)
      Вызов прокси для обработки события истечения таймаута.
    • isSetOperationFailure

      public boolean isSetOperationFailure()
    • isSetCallback

      public boolean isSetCallback()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TimeoutBehaviour other)
    • compareTo

      public int compareTo(TimeoutBehaviour other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object