Interface StreamletContext

All Superinterfaces:
swim.util.Log

public interface StreamletContext extends swim.util.Log
Environment in which a Streamlet executes.
  • Method Summary

    Modifier and Type
    Method
    Description
    swim.concurrent.Schedule
    Returns the Schedule with which the Streamlet can set timers.
    swim.concurrent.Stage
    Returns the Stage on which the Streamlet can execute tasks.

    Methods inherited from interface swim.util.Log

    debug, error, fail, info, trace, warn
  • Method Details

    • schedule

      swim.concurrent.Schedule schedule()
      Returns the Schedule with which the Streamlet can set timers.
    • stage

      swim.concurrent.Stage stage()
      Returns the Stage on which the Streamlet can execute tasks.