Class XORManager


  • public class XORManager
    extends Object
    • Constructor Detail

      • XORManager

        public XORManager​(org.apache.heron.common.basics.WakeableLooper looper,
                          TopologyManager topologyManager,
                          int nBuckets)
        Get an XORManager for all spouts for the topology.
        Parameters:
        looper - The WakeableLooper to execute timer event
        topologyManager - The manager which contains a topology protobuf
        nBuckets - number of buckets to divide the message timeout seconds
    • Method Detail

      • create

        public void create​(int taskId,
                           long key,
                           long value)
      • anchor

        public boolean anchor​(int taskId,
                              long key,
                              long value)
      • remove

        public boolean remove​(int taskId,
                              long key)
      • rotate

        protected void rotate()