Exemplo n.º 1
0
        public GovernorStatus GetHierarchyStatus()
        {
            Governor       governor = this;
            GovernorStatus governorStatus;

            do
            {
                governorStatus = governor.Status;
                if (governorStatus != GovernorStatus.Running)
                {
                    break;
                }
                governor = governor.parentGovernor;
            }while (governor != null);
            return(governorStatus);
        }
Exemplo n.º 2
0
 public MailboxGovernor(Governor parentGovernor, Throttle throttle) : base(parentGovernor, throttle)
 {
 }
Exemplo n.º 3
0
 public DatabaseGovernor(string name, Governor parentGovernor, Throttle throttle) : base(parentGovernor, throttle)
 {
     this.name = name;
 }
 // Token: 0x06000175 RID: 373 RVA: 0x00007373 File Offset: 0x00005573
 public ThrottleGovernor(Governor parentGovernor, Throttle throttle) : base(parentGovernor)
 {
     this.throttle = throttle;
 }
Exemplo n.º 5
0
 public Governor(Governor parentGovernor)
 {
     this.lastRunTime    = (DateTime)ExDateTime.Now;
     this.status         = GovernorStatus.Running;
     this.parentGovernor = parentGovernor;
 }