IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.kernel.logging
Interface IWriter


public interface IWriter

IWriter is the interface required by History to process execution history events. (see History). This interface is also used by Cache to write events to the cache file.

As used by History, IWriter.write() must be prepared to accept Hyades ExecutionEvent objects and String objects. When a new history is opened the String "<EXECUTION>" is written via IWriter.write() and when it is closed the String "</EXECUTION>" is writen via IWriter.write(). Otherwise, non-cached events are written as ExecutionEvent objects and cached events are written as String objects.


Method Summary
 void close()
          closes the destination
 void write(Object item)
          writes an object to the destination
 int writeObject(Object item)
          Writes an object to the destination.
 

Method Detail

writeObject

int writeObject(Object item)
Writes an object to the destination.

Parameters:
item -
Returns:
Number of bytes written.

write

void write(Object item)
writes an object to the destination

Parameters:
item -

close

void close()
closes the destination


IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.