Class SchedulePolicies
Inheritance
SchedulePolicies
Implements
Google.Protobuf.IBufferMessage
Assembly: Temporalio.dll
Syntax
public sealed class SchedulePolicies : Google.Protobuf.IMessage<SchedulePolicies>, Google.Protobuf.IBufferMessage
Constructors
SchedulePolicies()
Declaration
public SchedulePolicies()
SchedulePolicies(SchedulePolicies)
Declaration
public SchedulePolicies(SchedulePolicies other)
Parameters
Fields
CatchupWindowFieldNumber
Field number for the "catchup_window" field.
Declaration
public const int CatchupWindowFieldNumber = null
Field Value
OverlapPolicyFieldNumber
Field number for the "overlap_policy" field.
Declaration
public const int OverlapPolicyFieldNumber = null
Field Value
PauseOnFailureFieldNumber
Field number for the "pause_on_failure" field.
Declaration
public const int PauseOnFailureFieldNumber = null
Field Value
Properties
CatchupWindow
Policy for catchups:
If the Temporal server misses an action due to one or more components
being down, and comes back up, the action will be run if the scheduled
time is within this window from the current time.
This value defaults to 60 seconds, and can't be less than 10 seconds.
Declaration
public Google.Protobuf.WellKnownTypes.Duration CatchupWindow { get; set; }
Property Value
Type |
Description |
Google.Protobuf.WellKnownTypes.Duration |
|
Descriptor
Declaration
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Type |
Description |
Google.Protobuf.Reflection.MessageDescriptor |
|
OverlapPolicy
Policy for overlaps.
Note that this can be changed after a schedule has taken some actions,
and some changes might produce unintuitive results. In general, the later
policy overrides the earlier policy.
Declaration
public ScheduleOverlapPolicy OverlapPolicy { get; set; }
Property Value
Parser
Declaration
public static Google.Protobuf.MessageParser<SchedulePolicies> Parser { get; }
Property Value
PauseOnFailure
If true, and a workflow run fails or times out, turn on "paused".
This applies after retry policies: the full chain of retries must fail to
trigger a pause here.
Declaration
public bool PauseOnFailure { get; set; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
public SchedulePolicies Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
Object |
other |
|
Returns
Equals(SchedulePolicies)
Declaration
public bool Equals(SchedulePolicies other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Declaration
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedInputStream |
input |
|
MergeFrom(SchedulePolicies)
Declaration
public void MergeFrom(SchedulePolicies other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
WriteTo(Google.Protobuf.CodedOutputStream)
Declaration
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
Type |
Name |
Description |
Google.Protobuf.CodedOutputStream |
output |
|
Implements
Google.Protobuf.IBufferMessage