Java/Ema/PerfTools/src/main/java/com/refinitiv/ema/perftools/emajconsperf/ConsumerThread.java
private void populateItemInfo()
    {
		int itemListIndex = 0;
		_postItemCount = 0;
		_genMsgItemCount = 0;

    	for(int itemId = 0; itemId < _requestListSize; ++itemId)
    	{
    		/* Once we have filled our list with the common items,
    		 * start using the range of items unique to this consumer thread. */
			if (itemListIndex == _consPerfConfig.commonItemCount()
					&& itemListIndex < _consThreadInfo.itemListUniqueIndex())
				itemListIndex = _consThreadInfo.itemListUniqueIndex();

			_itemRequestList[itemId].clear();
			_itemRequestList[itemId].itemInfo().attributes().domainType(_itemInfoList.itemInfoList()[itemListIndex].domainType());

			_itemRequestList[itemId].itemName(_itemInfoList.itemInfoList()[itemListIndex].name());

    		if (!_itemInfoList.itemInfoList()[itemListIndex].isSnapshot())
    		{
    			int flags = _itemRequestList[itemId].itemInfo().itemFlags() | ItemFlags.IS_STREAMING_REQ;
    			_itemRequestList[itemId].itemInfo().itemFlags(flags);
    		}

    		if (_itemInfoList.itemInfoList()[itemListIndex].isPost() && _consPerfConfig.postsPerSec() > 0)
    		{
    			//TODO
			}

			if (_consPerfConfig.postsPerSec() > 0)
			{
				//TODO
			}

			if (_itemInfoList.itemInfoList()[itemListIndex].isGenMsg() && _consPerfConfig.genMsgsPerSec() > 0) 
			{
				//TODO
			}

			if (_consPerfConfig.genMsgsPerSec() > 0)
			{
				//TODO
			}

			++itemListIndex;
		}
	}
// populates item information from the XML list.

populates item information from the XML list.
populates item information from the XML list .
private void populateItemInfo()
    {
		int itemListIndex = 0;
		_postItemCount = 0;
		_genMsgItemCount = 0;
    	for(int itemId = 0; itemId < _requestListSize; ++itemId)
    	{
    		/* Once we have filled our list with the common items,
    		 * start using the range of items unique to this consumer thread. */
			if (itemListIndex == _consPerfConfig.commonItemCount()
					&& itemListIndex < _consThreadInfo.itemListUniqueIndex())
				itemListIndex = _consThreadInfo.itemListUniqueIndex();
			_itemRequestList[itemId].clear();
			_itemRequestList[itemId].itemInfo().attributes().domainType(_itemInfoList.itemInfoList()[itemListIndex].domainType());
			_itemRequestList[itemId].itemName(_itemInfoList.itemInfoList()[itemListIndex].name());
    		if (!_itemInfoList.itemInfoList()[itemListIndex].isSnapshot())
    		{
    			int flags = _itemRequestList[itemId].itemInfo().itemFlags() | ItemFlags.IS_STREAMING_REQ;
    			_itemRequestList[itemId].itemInfo().itemFlags(flags);
    		}
    		if (_itemInfoList.itemInfoList()[itemListIndex].isPost() && _consPerfConfig.postsPerSec() > 0)
    		{
			}
			if (_consPerfConfig.postsPerSec() > 0)
			{
			}
			if (_itemInfoList.itemInfoList()[itemListIndex].isGenMsg() && _consPerfConfig.genMsgsPerSec() > 0) 
			{
			}
			if (_consPerfConfig.genMsgsPerSec() > 0)
			{
			}
			++itemListIndex;
		}
	}
private void populateItemInfo ( ) { int itemListIndex = 0 ; _postItemCount = 0 ; _genMsgItemCount = 0 ; for ( int itemId = 0 ; itemId < _requestListSize ; ++ itemId ) { /* Once we have filled our list with the common items,
    		 * start using the range of items unique to this consumer thread. */ if ( itemListIndex == _consPerfConfig . commonItemCount ( ) && itemListIndex < _consThreadInfo . itemListUniqueIndex ( ) ) itemListIndex = _consThreadInfo . itemListUniqueIndex ( ) ; _itemRequestList [ itemId ] . clear ( ) ; _itemRequestList [ itemId ] . itemInfo ( ) . attributes ( ) . domainType ( _itemInfoList . itemInfoList ( ) [ itemListIndex ] . domainType ( ) ) ; _itemRequestList [ itemId ] . itemName ( _itemInfoList . itemInfoList ( ) [ itemListIndex ] . name ( ) ) ; if ( ! _itemInfoList . itemInfoList ( ) [ itemListIndex ] . isSnapshot ( ) ) { int flags = _itemRequestList [ itemId ] . itemInfo ( ) . itemFlags ( ) | ItemFlags . IS_STREAMING_REQ ; _itemRequestList [ itemId ] . itemInfo ( ) . itemFlags ( flags ) ; } if ( _itemInfoList . itemInfoList ( ) [ itemListIndex ] . isPost ( ) && _consPerfConfig . postsPerSec ( ) > 0 ) { } if ( _consPerfConfig . postsPerSec ( ) > 0 ) { } if ( _itemInfoList . itemInfoList ( ) [ itemListIndex ] . isGenMsg ( ) && _consPerfConfig . genMsgsPerSec ( ) > 0 ) { } if ( _consPerfConfig . genMsgsPerSec ( ) > 0 ) { } ++ itemListIndex ; } }
populates item information from the XML list.
populates item information from the XML list .
//TODO
 //TODO
 //TODO
 //TODO
