Class PipelineState.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder

    
    public class PipelineState.Builder
    extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
                        

    RecordBuilder for PipelineState instances.

    • Constructor Detail

    • Method Detail

      • getRetryState

         RetryState getRetryState()

        Gets the value of the 'retryState' field. Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

      • setRetryState

         PipelineState.Builder setRetryState(RetryState value)

        Sets the value of the 'retryState' field. Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

        Parameters:
        value - The value of 'retryState'.
      • getRetryStateBuilder

         RetryState.Builder getRetryStateBuilder()

        Gets the Builder instance for the 'retryState' field and creates one if it doesn't exist yet. Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

      • setRetryStateBuilder

         PipelineState.Builder setRetryStateBuilder(RetryState.Builder value)

        Sets the Builder instance for the 'retryState' field Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

        Parameters:
        value - The builder instance that must be set.
      • getMaxFlowSleepDuration

         int getMaxFlowSleepDuration()

        Gets the value of the 'maxFlowSleepDuration' field. The maximum time a flow can sleep, before a Wakeup event is generated (milliseconds)

      • setMaxFlowSleepDuration

         PipelineState.Builder setMaxFlowSleepDuration(int value)

        Sets the value of the 'maxFlowSleepDuration' field. The maximum time a flow can sleep, before a Wakeup event is generated (milliseconds)

        Parameters:
        value - The value of 'maxFlowSleepDuration'.
      • getCpkFileHashes

         List<SecureHash> getCpkFileHashes()

        Gets the value of the 'cpkFileHashes' field. Array of stored cpkFileHashes from the Virtual Node.

      • hasRetryState

         boolean hasRetryState()

        Checks whether the 'retryState' field has been set. Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

      • hasRetryStateBuilder

         boolean hasRetryStateBuilder()

        Checks whether the 'retryState' field has an active Builder instance Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

      • clearRetryState

         PipelineState.Builder clearRetryState()

        Clears the value of the 'retryState' field. Optional retry information for a failed flow event. Setting this field marks the flow as retrying.

      • hasMaxFlowSleepDuration

         boolean hasMaxFlowSleepDuration()

        Checks whether the 'maxFlowSleepDuration' field has been set. The maximum time a flow can sleep, before a Wakeup event is generated (milliseconds)

      • hasPendingPlatformError

         boolean hasPendingPlatformError()

        Checks whether the 'pendingPlatformError' field has been set. Used for platform generated errors reported back to user code.

      • hasPendingPlatformErrorBuilder

         boolean hasPendingPlatformErrorBuilder()

        Checks whether the 'pendingPlatformError' field has an active Builder instance Used for platform generated errors reported back to user code.

      • hasCpkFileHashes

         boolean hasCpkFileHashes()

        Checks whether the 'cpkFileHashes' field has been set. Array of stored cpkFileHashes from the Virtual Node.