private void clearState() {
    allocatedResources.clear();
    hostRequestCounts.clear();
    requestsQueue.clear();
  }
Clears all the state variables
Performed when there are no more unfulfilled requests
samza-core/src/main/java/org/apache/samza/clustermanager/ResourceRequestState.java