code: public HashMap<Integer, Integer> getWeightings()
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.entry(tc, "getWeightings");
      
      // Clone the map, the caller will start with the full set of classifications from which to choose 
      // a class but will remove that class from its copy of the map if no message with the initial
      // choice is found. 
      HashMap<Integer, Integer> clonedWeightMap = (HashMap<Integer, Integer>) weightMap.clone();    
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "getWeightings", clonedWeightMap);
        
      return clonedWeightMap;
    }
docs: Retrieve the map of the weightings associated with each classification. This method relies on the
  classifications not being changed under our feet. It is called where a consumer is getting
  a message under (ultimately) LocalQPConsumerKey.getMessageLocked() which takes the
  JSConsumerSet.classificationReadLock.
  
  @return