ActorGarbageCollection Interface

public interface ActorGarbageCollection

Settings to configures Garbage Collection behavior of Actor Service.

Method Summary

Modifier and Type Method and Description
long idleTimeoutInSeconds()

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

long scanIntervalInSeconds()

Gets time interval to run Actor Garbage Collection scan.

Method Details

idleTimeoutInSeconds

public long idleTimeoutInSeconds() default 60

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

Returns:

Time interval in Long to wait before garbage collecting an actor which is not in use.

scanIntervalInSeconds

public long scanIntervalInSeconds() default 3600

Gets time interval to run Actor Garbage Collection scan.

Returns:

Time interval in Long to run Actor Garbage Collection scan.

Applies to