Ejemplo n.º 1
0
 public DownstreamOperator(string id, List <IDownstreamReplica> allReplicas, ITupleRoutingStrategy router)
 {
     Id            = id;
     AllReplicas   = allReplicas;
     AliveReplicas = allReplicas;
     Router        = router;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public OutputOperator(string id, List <IOperatorProcess> replicas, ITupleRoutingStrategy router)
 {
     Id       = id;
     Replicas = replicas;
     Router   = router;
 }