Interface IGovernanceLoadDemonstrationService
- Namespace
- ReferenceApplication.Web.Governance.Demonstration
- Assembly
- ReferenceApplication.Web.dll
Starts, cancels, and observes the process-local governance load demonstration.
public interface IGovernanceLoadDemonstrationService
Properties
Current
Gets the current aggregate state.
GovernanceLoadDemonstrationSnapshot Current { get; }
Property Value
Methods
Subscribe()
Subscribes to current and future aggregate state updates.
IGovernanceLoadDemonstrationSubscription Subscribe()
Returns
TryCancel()
Requests cancellation of the active run.
bool TryCancel()
Returns
TryStart(int, int)
Attempts to start a run with explicit iteration and duration bounds.
GovernanceLoadDemonstrationStartResult TryStart(int iterations, int durationMilliseconds)