Class PhaseTimings
A placeholder for the timespans corresponding to the different periods of a given phase. Each phase starts with an Offset, then
Inheritance
System.Object
PhaseTimings
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Catalyst.Core.Modules.Consensus.Cycle
Assembly: Catalyst.Core.Modules.Consensus.dll
Syntax
public class PhaseTimings : IPhaseTimings
Constructors
| Improve this Doc View SourcePhaseTimings(TimeSpan, TimeSpan, TimeSpan)
Declaration
public PhaseTimings(TimeSpan offset, TimeSpan productionTime, TimeSpan collectionTime)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | offset | |
System.TimeSpan | productionTime | |
System.TimeSpan | collectionTime |
Properties
| Improve this Doc View SourceCollectionTime
Time during which a phase is in the Collecting status.
Declaration
public TimeSpan CollectionTime { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Offset
Time between the start of a cycle and the start of the phase.
Declaration
public TimeSpan Offset { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
ProductionTime
Time during which a phase is in the Producing status.
Declaration
public TimeSpan ProductionTime { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
TotalTime
The total duration of the phase, after which it will go Idle until the next cycle.
Declaration
public TimeSpan TotalTime { get; }
Property Value
Type | Description |
---|---|
System.TimeSpan |