Class SpoutTopologyContext

  • All Implemented Interfaces:
    IMetricsContext, org.json.simple.JSONAware

    public class SpoutTopologyContext
    extends TopologyContext
    A TopologyContext that is given to a spout is actually an instance of SpoutTopologyContext. Currently spouts can store spout specific information in this structure.
    • Constructor Detail

      • SpoutTopologyContext

        public SpoutTopologyContext​(org.apache.heron.api.topology.TopologyContext delegate)
    • Method Detail

      • getMaxSpoutPending

        public Long getMaxSpoutPending()
        Gets the Maximum Spout Pending value for this instance of spout.
      • setMaxSpoutPending

        public void setMaxSpoutPending​(Long maxSpoutPending)
        Sets the Maximum Spout Pending value for this instance of spout