Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Queue > Transaction Management Methods > The getCompletedTransactionCount and getExecutingTransactionCount Methods
  
The getCompletedTransactionCount and getExecutingTransactionCount Methods
These methods are called to obtain the number of completed or executing transactions that were queued by this queue. Since transactions are deleted from the queue before they start executing, the queue will need to iterate through all known transactions using an iterator obtained by the com.arbortext.e3.RMTransaction.list method looking for executing or completed transactions with the appropriate queue ID.