ActorGarbageCollectionSettings 类

定义

Settings to configures Garbage Collection behavior of Actor Service.

public class ActorGarbageCollectionSettings
继承
java.lang.Object
ActorGarbageCollectionSettings

构造函数

ActorGarbageCollectionSettings()

Initializes a new instance of the ActorGarbageCollectionSettings class.

ActorGarbageCollectionSettings(long idleTimeoutInSeconds, long scanIntervalInSeconds)

Initializes a new instance of the ActorGarbageCollectionSettings class.

方法

getIdleTimeoutInSeconds()

Gets time interval to wait before garbage collecting an actor which is not in use.

getScanIntervalInSeconds()

Gets time interval to run Actor Garbage Collection scan.

适用于