Edit

StatelessWorkerOptions Class

Definition

Options that apply globally to stateless worker grains.

public class StatelessWorkerOptions
type StatelessWorkerOptions = class
Public Class StatelessWorkerOptions
Inheritance
StatelessWorkerOptions

Constructors

Name Description
StatelessWorkerOptions()

Fields

Name Description
DEFAULT_IDLE_WORKERS_INSPECTION_PERIOD

The default value for IdleWorkersInspectionPeriod.

DEFAULT_MIN_IDLE_CYCLES_BEFORE_REMOVAL

The default value for MinIdleCyclesBeforeRemoval.

DEFAULT_REMOVE_IDLE_WORKERS

The default value for RemoveIdleWorkers.

Properties

Name Description
IdleWorkersInspectionPeriod

The time to inspect for idle workers.

MinIdleCyclesBeforeRemoval

The minimum, consecutive number of idle cycles any given worker must exhibit before it is deemed enough to remove the worker.

RemoveIdleWorkers

When set to true, idle workers will be proactively deactivated by the runtime. Otherwise if false, than the workers will be deactivated according to CollectionAge.

Applies to