Interface DurableActionHandler<T extends JobPayload>

Type Parameters:
T - action payload type
All Known Implementing Classes:
ComputeIndicatorValuesActionPerformable, FetchMarketDataFromFirstRateDataActionPerformable, FetchMarketEventsActionPerformable, InvalidateStaleAccountsActionPerformable, NotifyUnresolvedSymbolsActionPerformable, PeriodicAccountBalanceUpdaterActionPerformable, PingMiddlewareActionPerformable, RemoveOldIncomingPingsActionPerformable, RemoveOldJobsActionPerformable, RemoveStaleForgottenPasswordInstancesActionPerformable, RemoveStaleJobsInProgressActionPerformable, ResolveMarketPriceRequestsActionPerformable, SendRecurringNotificationsActionPerformable

public interface DurableActionHandler<T extends JobPayload>
Reconstructable action handler receiving typed persisted input.
Version:
3.0.6
Author:
Stephen Prizio
  • Method Details

    • payloadType

      Class<T> payloadType()
      Returns the accepted payload class.
      Returns:
      payload class
    • perform

      ActionData perform(T payload, ActionExecutionReporter reporter)
      Executes the action from durable input.
      Parameters:
      payload - reconstructed payload
      reporter - execution reporter
      Returns:
      action result