public override string GetStatus()
 {
     return("[Worker: {0}, Status: {1}, ThreadStatus: {2}, LastMsgAt: {3}, TotalMessagesReceived: {4}]"
            .Fmt(QueueName, WorkerStatus.ToString(status), this.BgThreadState, lastMsgProcessed, totalMessagesReceived));
 }
예제 #2
0
 public virtual string GetStatus()
 {
     return("[Worker: {0}, Status: {1}, ThreadStatus: {2}, Times Started: {3}]"
            .Fmt(this.ThreadName, WorkerStatus.ToString(status), bgThread.ThreadState, timesStarted));
 }