IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.io
Interface IRecorderPacketReference


public interface IRecorderPacketReference

A reference to a recorder packet. The reference mechanism enables scalability by keeping only a pointer to the persisted state of a packet rather than the whole packet itself. A reference automatically loads in memory the packet when IRecorderPacketReference.getRecorderPacket() is invoked, and keeps it in memory until IRecorderPacketReference.unload() is invoked.


Method Summary
 IRecorderPacket getRecorderPacket()
          Returns the recorder packet, loading it from its persisted state if necessary.
 IRecorderPacketReferenceSource getSource()
          Returns the source that issued the reference.
 void unload()
          Unloads the recorder packet from memory.
 

Method Detail

unload

void unload()
Unloads the recorder packet from memory.


getRecorderPacket

IRecorderPacket getRecorderPacket()
Returns the recorder packet, loading it from its persisted state if necessary.

Returns:
the referenced recorder packet.

getSource

IRecorderPacketReferenceSource getSource()
Returns the source that issued the reference. A source is able to convert back and forth a reference to a handle.

Returns:
the source that issued the reference.

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.