Пример #1
0
 /// <summary>
 /// Copy timeout from other InfoPolicy.
 /// </summary>
 public InfoPolicy(InfoPolicy other)
 {
     this.timeout = other.timeout;
 }
 /// <summary>
 /// Copy timeout from other InfoPolicy.
 /// </summary>
 public InfoPolicy(InfoPolicy other)
 {
     this.timeout = other.timeout;
 }
 /// <summary>
 /// Initialize task that has already completed.
 /// </summary>
 public BaseTask()
 {
     this.cluster = null;
     this.policy  = null;
     this.done    = true;
 }
 /// <summary>
 /// Initialize task with fields needed to query server nodes.
 /// </summary>
 public BaseTask(Cluster cluster, Policy policy)
 {
     this.cluster = cluster;
     this.policy  = new InfoPolicy(policy);
     this.done    = false;
 }
Пример #5
0
 /// <summary>
 /// Initialize task that has already completed.
 /// </summary>
 public BaseTask()
 {
     this.cluster = null;
     this.policy = null;
     this.done = true;
 }
Пример #6
0
 /// <summary>
 /// Initialize task with fields needed to query server nodes.
 /// </summary>
 public BaseTask(Cluster cluster, Policy policy)
 {
     this.cluster = cluster;
     this.policy = new InfoPolicy(policy);
     this.done = false;
 }