ActorGarbageCollectionSettings Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ActorGarbageCollectionSettings() |
Initializes a new instance of the ActorGarbageCollectionSettings class with the values of the input argument. |
ActorGarbageCollectionSettings(Int64, Int64) |
Initializes a new instance of the ActorGarbageCollectionSettings class. |
ActorGarbageCollectionSettings()
Initializes a new instance of the ActorGarbageCollectionSettings class with the values of the input argument.
public ActorGarbageCollectionSettings ();
Public Sub New ()
Applies to
ActorGarbageCollectionSettings(Int64, Int64)
Initializes a new instance of the ActorGarbageCollectionSettings class.
public ActorGarbageCollectionSettings (long idleTimeoutInSeconds, long scanIntervalInSeconds);
new Microsoft.ServiceFabric.Actors.Runtime.ActorGarbageCollectionSettings : int64 * int64 -> Microsoft.ServiceFabric.Actors.Runtime.ActorGarbageCollectionSettings
Public Sub New (idleTimeoutInSeconds As Long, scanIntervalInSeconds As Long)
Parameters
- idleTimeoutInSeconds
- Int64
Time interval to wait before garbage collecting an actor which is not in use.
- scanIntervalInSeconds
- Int64
Time interval to run Actor Garbage Collection scan.
Exceptions
When idleTimeoutInSeconds is less than or equal to 0.
When scanIntervalInSeconds is less than or equal to 0.
When idleTimeoutInSeconds is less than scanIntervalInSeconds.