question: private List < Stat > processPortStatsInfo ( Map < String , List < String > > interPortMap , Map < String , BigInteger > stringMapPortIOs , StorageSystem storageSystem , DbClient dbClient , Long sampleTime ) { List < Stat > stat = new ArrayList < Stat > ( ) ; Stat fePortStat = null ; for ( Entry < String , List < String > > entry : interPortMap . entrySet ( ) ) { String interfaceIP = entry . getKey ( ) ; List < String > portList = entry . getValue ( ) ; String portNativeGuid = NativeGUIDGenerator . generateNativeGuid ( storageSystem , interfaceIP , NativeGUIDGenerator . PORT ) ; StoragePort storagePort = findExistingPort ( portNativeGuid , dbClient ) ; _logger . info ( "interface {} and port details {}" , interfaceIP , storagePort . getPortName ( ) ) ; BigInteger iovalue = new BigInteger ( "0" ) ; for ( String physicalName : portList ) { iovalue = iovalue . add ( stringMapPortIOs . get ( physicalName ) ) ; } Long iopes = iovalue . longValue ( ) / portList . size ( ) ; Long kbytes = iopes / 1024 ; _logger . info ( "processIPPortMetrics input data iops{} and time details {} iopes" , iopes . toString ( ) , sampleTime . toString ( ) ) ; storagePort . setPortSpeed ( 1L ) ; portMetricsProcessor . processIPPortMetrics ( kbytes , iopes , storagePort , sampleTime ) ; fePortStat = preparePortStatInfo ( portNativeGuid , storagePort . getId ( ) , iopes , sampleTime ) ; stat . add ( fePortStat ) ; } return stat ; }
target:  Process the Port metrics which are received from XMLAPI server.