Esempio n. 1
0
 public int getFetchQueueSize() {
   return stageRequests.getCount(AbstractRequest.State.QUEUED);
 }
Esempio n. 2
0
 public int getActiveFetchJobs() {
   return stageRequests.getCount(AbstractRequest.State.ACTIVE)
       + stageRequests.getCount(AbstractRequest.State.CANCELED);
 }