docs: public boolean cleanupPremediatedItemStreams()
    {
  
  	    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
  	      SibTr.entry(tc, "cleanupPremediatedItemStreams");
  
  	    // true if all localisations have been cleaned up successfully    
  	    boolean allCleanedUp = true;
  
  	    //Only clean up the post mediated itemstreams when all the pre mediated 
  	    //itemstreams have been succesfully cleaned up
  	    if (allCleanedUp)
  	    {
  	      // Check each localisation in turn to see if it should be deleted.
  	      synchronized (_postMediatedItemStreamsRequiringCleanup)
  	      {
  	        HashMap clonedLocalisations =
  	          (HashMap) _postMediatedItemStreamsRequiringCleanup.clone();
  	        // Reallocate the messages from each localisations itemstream that is in 
  	        // to-be-deleted state.
  	        Iterator i = clonedLocalisations.keySet().iterator();
  
  	        while (i.hasNext())
  	        {
  	          SIBUuid8 uuid = (SIBUuid8) i.next();
  	          PtoPMessageItemStream ptoPMessageItemStream =
  	            (PtoPMessageItemStream) _postMediatedItemStreamsRequiringCleanup.get(uuid);
  	             
  	          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
  	            SibTr.debug(tc, "Removing Localisation " + uuid + 
  	                            " for destination " + _baseDestinationHandler.getName() + 
  	                            " : " + _baseDestinationHandler.getUuid());
  
  	          boolean itemStreamCleanedUp =
  	            ptoPMessageItemStream.reallocateMsgs();
  	              
  	          //we do not remove from xmit queues if it was never added
  	          boolean removeFromXmitPoints =
  	            !ptoPMessageItemStream.getDeleteRequiredAtReconstitute();
  
  	          if (itemStreamCleanedUp)
  	          {
  	            _postMediatedItemStreamsRequiringCleanup.remove(uuid);
  
  	            //If the queuePoint is in the "live" queuePoints set, remove it from there too
  	            if(removeFromXmitPoints) 
  	              _localisationManager.removeXmitQueuePoint(uuid);                
  	          }
  
  	          if (allCleanedUp)
  	          {
  	            allCleanedUp = itemStreamCleanedUp;
  	          }
  	        }
  	      }
  	    }  
  	     
  	    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
  	      SibTr.exit(tc, "cleanupPremediatedItemStreams", new Boolean(allCleanedUp));
  
  	    return allCleanedUp;
  	  
    }