ActorTimer Interface

public interface ActorTimer

Represents Timer set on an Actor

Method Summary

Modifier and Type Method and Description
Duration getDueTime()

Time when timer is first due.

Duration getPeriod()

Periodic time when timer will be invoked.

Method Details

getDueTime

public Duration getDueTime()

Time when timer is first due.

Returns:

Time as java.time.Duration when timer is first due.

getPeriod

public Duration getPeriod()

Periodic time when timer will be invoked.

Returns:

Periodic time as java.time.Duration when timer will be invoked.

Applies to