public TcsRemove(DhtBuilder <dynamic> builder, IEvaluationSchemeDht evaluationScheme) : base(builder) { _evaluationScheme = evaluationScheme; }
public TcsRemove(DhtBuilder <dynamic> builder) : this(builder, new VotingSchemeDht()) { }
public TcsGet(DhtBuilder <dynamic> builder, int min, IEvaluationSchemeDht evaluationScheme) : base(builder) { _min = min; _evaluationScheme = evaluationScheme; }
public TcsGet(DhtBuilder <dynamic> builder) : this(builder, 0, new VotingSchemeDht()) { }
/// <summary> /// Creates a new DHT task object that keeps track of the status of the DHT operations. /// </summary> /// <param name="builder"></param> protected TcsDht(DhtBuilder <dynamic> builder) { Builder = builder; }
/// <summary> /// Creates a new DHT task object that keeps track of the status of the PUT operation. /// </summary> /// <param name="builder"></param> /// <param name="min">The minimum of expected results.</param> /// <param name="dataSize"></param> public TcsPut(DhtBuilder <dynamic> builder, int min, int dataSize) : base(builder) { _min = min; _dataSize = dataSize; }