Interface TimeSkippingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSkippingConfig,TimeSkippingConfig.Builder
@Generated(value="protoc",
comments="annotations:TimeSkippingConfigOrBuilder.java.pb.meta")
public interface TimeSkippingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanBy default, executions started by another execution (e.g.booleanEnables or disables time skipping for this workflow execution.An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.intThe maximum number of skips allowed every time this field is updated.booleanAn optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()Enables or disables time skipping for this workflow execution.
bool enabled = 1;- Returns:
- The enabled.
-
hasFastForwardConfig
boolean hasFastForwardConfig()An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.
.temporal.api.common.v1.FastForwardConfig fast_forward_config = 2;- Returns:
- Whether the fastForwardConfig field is set.
-
getFastForwardConfig
FastForwardConfig getFastForwardConfig()An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.
.temporal.api.common.v1.FastForwardConfig fast_forward_config = 2;- Returns:
- The fastForwardConfig.
-
getFastForwardConfigOrBuilder
FastForwardConfigOrBuilder getFastForwardConfigOrBuilder()An optional opt-in to control time-skipping behavior through fast-forward; see its definition for details.
.temporal.api.common.v1.FastForwardConfig fast_forward_config = 2; -
getDisablePropagation
boolean getDisablePropagation()By default, executions started by another execution (e.g. a child workflow of a parent workflow or a schedule with the time-skipping policy enabled) inherit the "enabled" flag and skip time when possible. This flag disables that inheritance.
bool disable_propagation = 3;- Returns:
- The disablePropagation.
-
getMaxSessionSkipCount
int getMaxSessionSkipCount()The maximum number of skips allowed every time this field is updated. It protects the execution from situations like unlimited retries when backoff is skipped. Every time the execution skips time, the skip count is incremented by one, and when it reaches max_session_skip_count, time skipping stops. Whenever this config field is updated, the accumulated skip count is cleared, marking the start of a new session. For an execution with a chain of runs (retry, cron, continue-as-new), the count is accumulated across all runs within the same session. If this field is not set, the server applies a large default value (e.g. 100). The default can be changed through dynamic config, and is overridden by this field when set.
int32 max_session_skip_count = 4;- Returns:
- The maxSessionSkipCount.
-