|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecorderPacket
A recorder packet represents the atomic piece of information captured by a recorder. A packet has two timing information (the time at which the piece of information started being captured, and the time at which the capture was complete). It also provides a size estimate for evaluating the recorder workload. Any other information is protocol-specific and defined in implementing classes. The interface requires that implementations do implement Serializable. A packet must be serializable using java serialization. In order to flawlessly work, a packet should contain only serializable fields, and should not reference objects that are not related to the information that should be serialized (unless the field is transient).
Method Summary | |
---|---|
long |
getEndTimestamp()
Returns the time (in the recording framework clock) when the packet information was completely captured. |
String |
getPacketType()
Returns the packet type id that this class implements. |
int |
getPacketVersion()
Returns the packet version. |
short |
getRecorderId()
Returns the unique (within the session) id of the recorder that issued the packet. |
long |
getSize()
Returns a size estimate (in bytes) of the piece of information captured by the packet. |
long |
getStartTimestamp()
Returns the time (in the recording framework clock) when the packet information started being captured. |
Method Detail |
---|
long getStartTimestamp()
long getEndTimestamp()
long getSize()
String getPacketType()
int getPacketVersion()
short getRecorderId()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |