Edit

Share via


IManagementGrain.ForceActivationCollection Method

Definition

Overloads

ForceActivationCollection(TimeSpan)

Forces activation collection.

ForceActivationCollection(SiloAddress[], TimeSpan)

Perform a run of the Orleans activation collector in the specified silos.

ForceActivationCollection(TimeSpan)

Source:
IManagementGrain.cs

Forces activation collection.

public System.Threading.Tasks.Task ForceActivationCollection (TimeSpan ageLimit);
abstract member ForceActivationCollection : TimeSpan -> System.Threading.Tasks.Task
Public Function ForceActivationCollection (ageLimit As TimeSpan) As Task

Parameters

ageLimit
TimeSpan

The age limit. Grains which have been idle for longer than this period of time will be eligible for collection.

Returns

A Task representing the work performed.

Applies to

ForceActivationCollection(SiloAddress[], TimeSpan)

Source:
IManagementGrain.cs

Perform a run of the Orleans activation collector in the specified silos.

public System.Threading.Tasks.Task ForceActivationCollection (Orleans.Runtime.SiloAddress[] hostsIds, TimeSpan ageLimit);
abstract member ForceActivationCollection : Orleans.Runtime.SiloAddress[] * TimeSpan -> System.Threading.Tasks.Task
Public Function ForceActivationCollection (hostsIds As SiloAddress(), ageLimit As TimeSpan) As Task

Parameters

hostsIds
SiloAddress[]

List of silos this command is to be sent to.

ageLimit
TimeSpan

Maximum idle time of activations to be collected.

Returns

A Task representing the work performed.

Applies to