ActorGarbageCollectionSettings Class
- java.
lang. Object - microsoft.
servicefabric. actors. runtime. ActorGarbageCollectionSettings
- microsoft.
public class ActorGarbageCollectionSettings
Settings to configures Garbage Collection behavior of Actor Service.
Constructor Summary
Constructor | Description |
---|---|
ActorGarbageCollectionSettings() |
Initializes a new instance of the ActorGarbageCollectionSettings class. |
ActorGarbageCollectionSettings(long idleTimeoutInSeconds, long scanIntervalInSeconds) |
Initializes a new instance of the ActorGarbageCollectionSettings class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getIdleTimeoutInSeconds()
Gets time interval to wait before garbage collecting an actor which is not in use. |
long |
getScanIntervalInSeconds()
Gets time interval to run Actor Garbage Collection scan. |
Constructor Details
ActorGarbageCollectionSettings
public ActorGarbageCollectionSettings()
Initializes a new instance of the ActorGarbageCollectionSettings class.
ActorGarbageCollectionSettings
public ActorGarbageCollectionSettings(long idleTimeoutInSeconds, long scanIntervalInSeconds)
Initializes a new instance of the ActorGarbageCollectionSettings class.
Parameters:
Throws:
Method Details
getIdleTimeoutInSeconds
public long getIdleTimeoutInSeconds()
Gets time interval to wait before garbage collecting an actor which is not in use.
Returns:
getScanIntervalInSeconds
public long getScanIntervalInSeconds()
Gets time interval to run Actor Garbage Collection scan.
Returns:
Applies to
Azure SDK for Java