public interface Remindable<T>
Modifier and Type | Method and Description |
---|---|
Class<T> |
getStateType()
Gets the class for state object.
|
reactor.core.publisher.Mono<Void> |
receiveReminder(String reminderName,
T state,
Duration dueTime,
Duration period)
The reminder call back invoked when an actor reminder is triggered.
|
Class<T> getStateType()
reactor.core.publisher.Mono<Void> receiveReminder(String reminderName, T state, Duration dueTime, Duration period)
ActorStateManager
will
be discarded and reloaded from previously saved state when the next actor method or reminder invocation occurs.reminderName
- The name of reminder provided during registration.state
- The user state provided during registration.dueTime
- The invocation due time provided during registration.period
- The invocation period provided during registration.Copyright © 2020. All rights reserved.