ActorReminder Interface

public interface ActorReminder

Encapsulates Reminder set on an Actor

Method Summary

Modifier and Type Method and Description
Duration getDueTime()

Time when Reminder is first due.

String getName()

Name of Reminder set on Actor. The name is unique per actor.

Duration getPeriod()

Periodic time when Reminder will be invoked.

byte [] getState()

State to be passed into reminder invocation.

Method Details

getDueTime

public Duration getDueTime()

Time when Reminder is first due.

Returns:

Due time as java.time.Duration when the reminder is first due.

getName

public String getName()

Name of Reminder set on Actor. The name is unique per actor.

Returns:

Name of Reminder set on Actor.

getPeriod

public Duration getPeriod()

Periodic time when Reminder will be invoked.

Returns:

Time period as java.time.Duration when Reminder will be invoked.

getState

public byte [] getState()

State to be passed into reminder invocation.

Returns:

State to be passed into reminder invocation.

Applies to