public final void printMessageUserData(IStructuredOutputWriter out,String msgId) throws Exception {
  final Integer iid=m_seenMsgIds.get(msgId);
  if (iid == null) {
    out.simpleChild("status","new");
    return;
  }
  final Integer clusterId=m_msgInternalIdToCluster.get(iid);
  if (clusterId == null || clusterId < 0) {
    out.simpleChild("status","unclusterd");
    return;
  }
  out.simpleChild("status","clustered");
  out.simpleChild("clusterId",clusterId);
  out.simpleChild("clusterName",getClusterName(clusterId));
  out.simpleChild("clusterSize",getClusterSize(clusterId));
}

public final void printMessageUserData ( IStructuredOutputWriter out , String msgId ) throws Exception { final Integer iid = m_seenMsgIds . get ( msgId ) ; if ( iid == null ) { out . simpleChild ( "status" , "new" ) ; return ; } final Integer clusterId = m_msgInternalIdToCluster . get ( iid ) ; if ( clusterId == null || clusterId < 0 ) { out . simpleChild ( "status" , "unclusterd" ) ; return ; } out . simpleChild ( "status" , "clustered" ) ; out . simpleChild ( "clusterId" , clusterId ) ; out . simpleChild ( "clusterName" , getClusterName ( clusterId ) ) ; out . simpleChild ( "clusterSize" , getClusterSize ( clusterId ) ) ; }
prints the how messages ids have been assigned to a cluster .
