private Stat preparePortStatInfo(String nativeId,URI resourceId,long iops,long timeSample){
  Stat ipPortStat=new Stat();
  ipPortStat.setServiceType(Constants._File);
  ipPortStat.setTimeCollected(timeSample);
  ipPortStat.setResourceId(resourceId);
  ipPortStat.setNativeGuid(nativeId);
  ipPortStat.setTotalIOs(iops);
  return ipPortStat;
}

private Stat preparePortStatInfo ( String nativeId , URI resourceId , long iops , long timeSample ) { Stat ipPortStat = new Stat ( ) ; ipPortStat . setServiceType ( Constants . _File ) ; ipPortStat . setTimeCollected ( timeSample ) ; ipPortStat . setResourceId ( resourceId ) ; ipPortStat . setNativeGuid ( nativeId ) ; ipPortStat . setTotalIOs ( iops ) ; return ipPortStat ; }
prepare the port stat information
