HostRecycleSettings Class

Strategies for determining when host processes get recycled.
Inheritance Hierarchy
SystemObject
  AGI.Parallel.InfrastructureHostRecycleSettings
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.3.0.366 (1.3.0.366)
Syntax
[SerializableAttribute]
public sealed class HostRecycleSettings

The HostRecycleSettings type exposes the following members.

Constructors
  Name Description
Public method HostRecycleSettings
Initializes a new instance of the HostRecycleSettings class.
Public method HostRecycleSettings(HostRecycleSettings)
Initializes a new instance of the HostRecycleSettings class.
Public method HostRecycleSettings(Int32, Int32, Int32, String, Boolean, Boolean, Int64)
Initializes a new instance of the HostRecycleSettings class.
Top
Properties
  Name Description
Public property FixedNumberOfTasks
Gets or sets the fixed number of tasks the host will execute before it is recycled.
Public property IdleTimeout
Gets or sets the amount of time (in milliseconds) a host can idle before it is recycled.
Public property JobCompletion
Gets or sets a value indicating whether to recycle the host upon the completion of the current job.
Public property PrivateMemoryUsageMaximum
Gets or sets the amount of private memory a host process must reach or exceed before it is recycled.
Public property RegularInterval
Gets or sets the amount of time (in milliseconds) representing the interval after which the host will be regularly recycled. The interval is measured from the time the host process was started.
Public propertyCode example SpecificTimes
Gets or sets the specific times of day at which hosts get recycled. Specific times are in the format "hh:mm:ss tt". Separate multiple times with commas.
Public property TaskEnvironmentNoLongerReferenced
Gets or sets a value indicating whether to recycle the host when its current task environment is no longer referenced.
Top
Methods
  Name Description
Public method Equals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public method GetSpecifiedTimesAsTimeArray
Gets the specified times of the recycling settings.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic member Override
Overrides the specified override settings.
Public method ToString
Returns a String representing this instance.
(Overrides ObjectToString.)
Public methodStatic member WithFixedNumberOfTasks
Creates the settings with only fixed number of tasks. This is mainly used for backward compatibility so tests don't have to spell out all the new properties.
Top
See Also

STK Scalability 1.3 API for .NET