public DownstreamOperator(string id, List <IDownstreamReplica> allReplicas, ITupleRoutingStrategy router) { Id = id; AllReplicas = allReplicas; AliveReplicas = allReplicas; Router = router; }
public GroupManager(IList <IReplica> allMembers, IReplica localReplica, MonitoringProcess monitoringProcess, ITupleRoutingStrategy localRoutingStrategy) { AllMembers = new List <IReplica>(allMembers); AliveMembers = new List <IReplica>(allMembers); Shared = new Dictionary <DadTuple, Queue <int> >(); LocalReplica = localReplica; Processed = new Dictionary <DadTupleId, IList <DadTuple> >(); Delivered = new HashSet <DadTupleId>(); Deleted = new HashSet <DadTupleId>(); MonitoringProcess = monitoringProcess; NoOwner = new HashSet <DadTuple>(); LocalRoutingStrategy = localRoutingStrategy; }
public OutputOperator(string id, List <IOperatorProcess> replicas, ITupleRoutingStrategy router) { Id = id; Replicas = replicas; Router = router; }