Beispiel #1
0
 public bool checkHeartbeat(string url)//job tracker will invoke this
 {
     if (!WorkerTask.IS_WORKER_FREEZED)
     {
         if (url.Equals(JOBTRACKER_URL))
         {
             workerTask.ProcessHeartBeat();
             return(true);
         }
     }
     else
     {
         Console.WriteLine("I m freeze thrown exec");
         throw new RemoteComException();
     }
     return(false);
 }