IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testgen.core.store
Interface IPacketStoreIterator


public interface IPacketStoreIterator

An iterator that allows to iterate through the packet references stored in a IPacketReferenceStore.


Method Summary
 void close()
          Discards this iterator.
 long getMinPendingPacketTime()
          Returns the minimal start time of the remaining packets to be iterated through.
 IRecorderPacketReference next()
          Returns the next packet reference, or null if the end has been reached.
 

Method Detail

next

IRecorderPacketReference next()
Returns the next packet reference, or null if the end has been reached.

Returns:

getMinPendingPacketTime

long getMinPendingPacketTime()
Returns the minimal start time of the remaining packets to be iterated through. At least one packet must have been consumed so this method can return a valid value. If no packet has been consumed (i.e. next() has never been called), this method will return 0.

Returns:

close

void close()
Discards this iterator. This is automatically performed when IPacketStoreIterator.next() returns null, but can be performed manually sooner.


IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.